1,105,578 Community Members

Hoe to apply slide show to Adrotator?

Member Avatar
Newbie Poster
2 posts since Mar 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]

Adrotator provides change of advertisements on refreshing the page.. Can anyone tell me how can we change it during the page execution ..I mean can ad change without loading the page???
Please do reply if you are aware of it..
thnx in advance

Member Avatar
Posting Genius (adatapost)
6,703 posts since Oct 2008
Reputation Points: 1,811 [?]
Q&As Helped to Solve: 1,272 [?]
Skill Endorsements: 61 [?]

Drop "AdRotator" into UpdatePanel and (Use Ajax Extension) handle the Timer's event.

Member Avatar
Light Poster
34 posts since Nov 2009
Reputation Points: 0 [?]
Q&As Helped to Solve: 5 [?]
Skill Endorsements: 0 [?]

Well... You need to put AdRotator control into Update Panel. Trigger update panel on timer tick event.

Please check below example for more details:

<form id="frmAdRotator" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <asp:Timer runat="server" id="UpdateTimer" interval="5000" ontick="UpdateTimer_Tick" />
        <asp:UpdatePanel runat="server" id="TimedPanel" updatemode="Conditional">
                <asp:AsyncPostBackTrigger controlid="UpdateTimer" eventname="Tick" />
                <asp:AdRotator ID="adRotator" runat="server" AdvertisementFile="~/File.xml" />
This article has been dead for over three months: Start a new discussion instead
Start New Discussion
View similar articles that have also been tagged: