dynamically add item to radticker

4 posts, 0 answers
  1. appdev
    appdev avatar
    223 posts
    Member since:
    Sep 2008

    Posted 17 Jun 2010 Link to this post

    i am trying to build a scroller just like the one on the demo page but instead of multiple i only want 1 scroller. however, i want to be able to generate data on the server side and then add the column in as i want. is there a way for me to do that?
    i have included an image of the demo on your page hope fully that will help explaining what i'm trying to do. thanks

    i have this and it doesn't display anything. can you help me please. thanks

    <telerik:RadRotator ScrollDirection="left" FrameDuration="1" Width="435" ItemWidth="145" Height="24" ItemHeight="24"   
                                                        ScrollDuration="2000" ID="Rotator1" runat="server">  


    Dim rs As SqlDataReader = clsGenerateReport.top20_ticker()



    Dim dt As New DataTable



    Rotator1.DataSource = dt


  2. Andy Green
    Andy Green avatar
    120 posts
    Member since:
    Jul 2009

    Posted 18 Jun 2010 Link to this post


    I'm new to this control, just picked it up this morning, so this might be obvious and not what you are looking for but ...

    You need to add this to extract the data:
    <ItemTemplate > 
    <%#DataBinder.Eval(Container.DataItem, "Your data field here")%> 

  3. DevCraft R3 2016 release webinar banner
  4. appdev
    appdev avatar
    223 posts
    Member since:
    Sep 2008

    Posted 18 Jun 2010 Link to this post

    yes but this means that you still manually adding data on the aspx page. what i want is to add it programmatically in the server which is aspx.vb page.
  5. Fiko
    Fiko avatar
    1406 posts

    Posted 22 Jun 2010 Link to this post

    Hi Duy,

    The solution is explained in details in this blog post. I have already gave you the link in my answer to your support ticket.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top