Ticker Not Ticking On Postback

2 posts, 0 answers
  1. Dave
    Dave avatar
    40 posts
    Member since:
    Jun 2007

    Posted 17 Jun 2009 Link to this post

    I have a rotator with a ticker in the item template bound to an XLMDataSource on my page set up like:

                    <telerik:RadRotator ID="RadRotator1" runat="server"  
                        DataSourceID="XmlDataSource1" Width="100%" FrameDuration="6000"  
                        ScrollDirection="Left" ScrollDuration="800" Height="250px"  
                        PauseOnMouseOver="False" ItemWidth="200px"
                            <div class="tickdetail"
                                <div class="clogo"><img src="<%# XPath("LogoFile") %>" alt=""/></div> 
                                <div class="tickdesc" style="text-align:center"
                                    <telerik:RadTicker ID="Ticker1" runat="server" TickSpeed="50"
                                            <telerik:RadTickerItem Text='<%# XPath("Description") %>' /> 
                        <SlideShowAnimation Duration="1000" Type="Fade" /> 

    When I go to my page everything appears to work fine and I see the rotator doing its thing and the ticker is ticking.  But when I click an item on the page that causes a postback, the rotator shows the associated image but the ticker no noger runs.  Any ideas?

  2. Fiko
    Fiko avatar
    1406 posts

    Posted 18 Jun 2009 Link to this post

    Hi Sam,

    That behavior occurs and it is expected because the RadTicker needs to be rebound after post back. You can achieve this by calling the RadRotator1.DataBind() function in the PageLoad() event handler :

    protected void Page_Load(object sender, EventArgs e) 

    I hope this helps.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top