1.11M Members

Hoe to apply slide show to Adrotator?

 
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

 
0
 

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

 
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">
            <Triggers>
                <asp:AsyncPostBackTrigger controlid="UpdateTimer" eventname="Tick" />
            </Triggers>
            <ContentTemplate>
                <asp:AdRotator ID="adRotator" runat="server" AdvertisementFile="~/File.xml" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: