Good Day Dotnetfundakumar
I will not Allow people to Post the Same Question twice. Its not allowed here. After you have Posted something, please be patient until someone comes and reply to your post.
To load Pictures like Winners you can use a Add Rotator Control like this
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<asp:Timer ID="Timer_RightSecond" runat="server" OnTick="Timer_RightSecond_Tick">
<asp:AdRotator ID="AdRotator_RightSecond" runat="server" DataSourceID="XmlDataSourceRightSecond" />
<asp:XmlDataSource ID="XmlDataSourceRightSecond" runat="server" DataFile="~/RightSecond_Home.xml">
<asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
Now what i did here i have placed an Add Rotator Control inside an Update Panel and after that i have put a timer Control and after Certain Intervals the Images will Change. Now let me show you how my XML looks like
Now in the Timer Tick event you must Update the UpdatePanel so that it can do the partial update and add the Following code
protected void Timer_RightSecond_Tick(object sender, EventArgs e)
Now after Certain intervals this will Display images Randonly. As you can see i have added the <NavigateUrl> tag , now this means if the image gets click , it will redirect the user to that url.
Thank you For Posting at Dotnetfunda. Please To cross post again.
Vuyiswa MasekoDotnetfundakumar, if this helps please login to Mark As Answer. | Alert Moderator