Click here to Skip to main content
15,905,028 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
ASP.NET
<asp:UpdatePanel ID="upnlDetails2" runat="server">
        <ContentTemplate>
            <table>
                <tr>
                    <td class="label">
                        <asp:Timer ID="Timer1" runat="server" Interval="5000">
                        </asp:Timer>
                        <asp:AdRotator ID="adrDetails" runat="server" AdvertisementFile="xmlDetails.xml"
                            KeywordFilter="Asp.Net" Target="_blank" Height="100px" Width="100px" ImageUrlField="ImageUrl"
                            NavigateUrlField="NavigateUrl" AlternateTextField="AlternateText" />
                    </td>
                </tr>
            </table>
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
        </Triggers>
    </asp:UpdatePanel>
Posted
Updated 19-May-14 1:03am
v3
Comments
King Fisher 17-May-14 7:24am    
show your sample xml file code

Check the details within the xmlDetails file.
There could be something missing or the image paths could be wrong.
 
Share this answer
 
The Error in your xml File
C#
<imageurl>~\Images\edit1.jpg</imageurl>

modify into
C#
<imageurl>~/Images/edit1.jpg</imageurl>


and make sure the Location
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900