German Wear Discount Shop - Click Here Write for Dotnet-friends and earn for your each submission [Dot]Net-Friends
Skip Navigation Links
Home
Latest
Fast Code
Articles
Tutorials
Online Resources
Forums
Login   | Hi, Guest


How to use ASP .NET AdRotater Control To Publish Discount ASP.NET adds?
Written By Omer Kamal On 02/02/2008

Use ASP .NET adds rotater Control to Group your adds and rotate them on desired impressions timing.

Views: 1992
Rating: 5
Login to Rate
omerkamal
Downloads: AddRotater.zip
Tagged Under: General, Web Controls

Explanation:

 

I saw some questions on the ASP .NET Forum asking how can they use ASP :NET Rotator Control to Rotate the adds. I thought it might be a better Idea to right down a small Practicle example which we are already using on our website.

  • Add add.xml and XML file to your App_Code Folder (If your are working on a Web Application then you wont have the App_Code directory.  You may create it at any other location)
  • Clear all content from the file and add the following Content to your created XML file:  



~/adds/discount/Blu_Card_NET35_SM120x600.gif
http://www.discountasp.net/go/go.aspx?i=4633
ASP.NET 3.5 Hosting - Click Here
tall


~/adds/discount/3yrs_asppro_120x600EM.gif
http://www.discountasp.net/go/go.aspx?i=4634
Award Winning ASP.NET Hosting - DiscountASP.NET
tall


~/adds/discount/Marquee_NET35_SM125x125.gif
http://www.discountasp.net/go/go.aspx?i=4635
ASP.NET 3.5 Hosting - DiscountASP.NET
square


~/adds/discount/ASPNET_AJAX_Nonbrd_KE125x125.gif
http://www.discountasp.net/go/go.aspx?i=4636
ASP.NET AJAX Hosting - Click Here
square

  • Add requiered Images at given location (Imgaes are attached with this Tutorials). Create a roote Directory Adds and the next Directory discount inside it. the path will be ~/adds/discount. Now add all images to the discount Directory you have just created.
  • Add the following line of code to your ASP .NET Page with in the Form Tag:

runat="server" />

and this one also

runat="server" />

Now you have both adds working.  You will notice that on every new Visit to the page you will be viewing a new add.

Delicious Digg reddit reddit Technorati
Downloads: AddRotater.zip
About the Author:

@@ Omer Kamal is a Software Developer at Elanize KG Germany. He MSc. Mathematics from Islamia University Bahawalpur, Pakistan and Certified Developer from National Institute of Electronics Islamabad, Pakistan. He is Founder of FriendsPoint.de and Dotnet-Friends.com. He is currently Involved with Microsoft Office SharePoint 2007, Microsoft Dynamics CRM, BI Portal Solutions (Microsoft Dynamics Customization) and Web Security Solutions.
Check Omer Kamal Profile

Related Useful Links:
Visitors/Readers Comments
(for questions please use The Forum)



Aditya

Thanks for giving me a direction but in ASP.NET for ADRotator we have to use the xml format what about that. If u want to suggest me some thing tell me on my E-mail ID,

 i.e.

                             Thanks

15/04/2008 04:11:20 UTC

ali
hey salam Mr OMER KAMAL

I AM JUST HAVING PROLEM WITH MY DESGING MY BLOG.. CAN YOU CONTACT ME ON please thanks

09/11/2008 05:59:14 UTC




Add your Comments

Name:  
Message:
Note: For faster response please use Forums >> for your questions instead of the comments area! (Admin)