Ticker Text Speed increase on RadMenu Item Click

4 posts, 0 answers
  1. Stevey
    Stevey avatar
    14 posts
    Member since:
    Aug 2008

    Posted 22 Jun 2009 Link to this post

    Hi,

    I have implemented a radRotator to display 'news feeds' across the top of the page. this is loading and displaying data correctly from the database. We have also implemented a RadPanelBar which has 3 levels. some items will open a page, and some items will expand the panelbar to display the sub items.

    Upon clicking the panelbar which expands to display the sub items (no postback) the radRotator scroll speed keeps on increasing. it increases to a point where it is no longer readable and zooms across the screen.
    OnClientItemClicked of the RadPanelBar i have created a simple function as suggested in one of the threads to re-set the rotator speed. However, this does not fix the issue. Any suggestions?

     function SetRotatorSpeed() {
                var rotatorElement = document.getElementById("<%= radRotTickerText.ClientID %>" + "_Div"); 
                if (rotatorElement != null) {
                    rotatorElement.set_scrollDuration = 30;
                    rotatorElement.set_tickSpeed = 30;
                                   
                }
            }

     <rad:RadRotator ScrollDirection="left" ScrollSpeed="30"
                                        UseSmoothScroll="false" FrameTimeout="0" Height="25px"
                                        TransitionType="scroll" FramesToShow="1" ID="radRotTickerText"
                                        Width="100%" runat="server"  >
                                        <FrameTemplate>
                                            <table cellpadding="0" cellspacing="3" border="0">
                                                <tr>                                            
                                                    <td class="Change" style="white-space:nowrap; ">
                                                        <%#DataBinder.Eval(Container.DataItem, "[TickerText]")%>
                                                    </td>
                                                </tr>
                                            </table>
                                        </FrameTemplate>
                                    </rad:RadRotator>
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 22 Jun 2009 Link to this post

    Hi Stevey,

    Unfortunately we cannot reproduce the scenario on our side. In the ticket info you point that you use the 2009.1 402 version of the control( this is the AJAX enabled version), but the code that you pasted is related to RadRotator for ASP.NET (the AJAX version does not have <FrameTemplate> tag). Also you use the set_scrollDuration as a property, but this is a method from the client-side API of the RadRotator for ASP.NET AJAX, and these properties are not related to the Classic version of the control. Also you use the set_tickSpeed as a property of a RadRotator's client -side object, but please note that this is a method from the client-side API of the RadTcker for ASP.NET AJAX control and does not related to the RadRotator's object.
    We are much willing to help, but we will need your further cooperation. Could you, please, open a new support ticket and send us a simple running application which demonstrates your scenario and reproduces the problems you experience? We will take a closer look at your code, test it on our side, investigate the issues and do our best to help you.

    Regards,
    Fiko
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Stevey
    Stevey avatar
    14 posts
    Member since:
    Aug 2008

    Posted 22 Jun 2009 Link to this post

    are there any client side functions that I can use to set the scroll speed for the version of the rad control we have?
    Also, where can i view online documentation for the rad control version i am using?
  5. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 26 Jun 2009 Link to this post

    Hi Stevey,

    The ASP.NET Classic version of the RadRotator control does not have client-side methods or properties that can be used in order to change the ScrollSpeed or FrameTimeout's values.
    As for your second question, you can download the .CHM help documentation from this link. In case that you experience problems opening the help file, please check this blog post.

    Regards,
    Fiko
    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