navigation in the rotator

2 posts, 0 answers
  1. komathi priya
    komathi priya avatar
    30 posts
    Member since:
    Apr 2010

    Posted 23 Jul 2010 Link to this post


    i'm new to the telerik controls,  i want to show the ads in rotator, i used the following code but it's not working,
    the design coding
      <telerik:RadRotator id="radNews" runat="server" ScrollDirection="Up" 
    RotatorType="AutomaticAdvance" InitialItemIndex="0"  
    ScrollDuration="300" ItemWidth="200px" Width="910px" Height="900px" 
        <asp:Image ID="Image1" ImageUrl='<%#Eval("ImageUrl")%>' runat="server" />
    <a href='<%#Eva("Url")%>'></a>
    <br />
    <span >Starts:</span>
    <span ><%#Eval("PublishedDate")%></span>
    <br />
    <SlideShowAnimation Type="Fade" Duration="300" />

    i binded the telerik:RadRotator with XML like 
    DataSet ds= new DataSet();
           radNews.DataSource = ds;

    My XML file is

    <AlternateText>ASP.NET Logo</AlternateText>
      <Caption>This is the caption for Ad#1</Caption>

    If i click the ad image i want to navigate to the url given.  It's working in asp rotator if i give as target file = "Xml file name" 

    Please reply me soon , i'm in need to complete soon,

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 23 Jul 2010 Link to this post

    Hello Komathi,

    Here I found some links which shows how to bind RadRotator control with XML file. I hope it will help you.
    Binding to ASP DataSource components
    Rotator / Slide Show

    Have you tried XmlDataSource?

  3. DevCraft R3 2016 release webinar banner
Back to Top