Old-school marquee?

3 posts, 0 answers
  1. Nicole Griesmeyer
    Nicole Griesmeyer avatar
    12 posts
    Member since:
    Sep 2009

    Posted 09 Feb 2010 Link to this post


    I want to thank you all for your quick and helpful answers to questions. I hope that I am not posting something that has already been posted, but I have given a thorough look.

    I have a specific need of an old-school marquee. You know, scrolls one line of text from right to left, continuously. I would like to pass it a string that I construct in the code-behind. This works fine for the <marquee> html element, but that is not smooth at all.

    I came back to telerik because I've been around the internet and consulting other resources for many days, even weeks, and you guys are the ones that seem to help me best, though I don't know if you have any resources for my specific question. I have tried dynamic drive's marquee (smoother but freaks out and won't render at random times), many javascript resources (I can't seem to get any javascript examples to work for me... no idea why) and I don't know how flash interacts with asp.

    I see you have a ticker and a rotator... could those be used in the way I need? I haven't been able to get them to render, probably because I haven't passed them data sources. Could I get them to emulate the marquee, and would it be smooth?

    Thank you so much, I hope you can grant me some rest from my silly, yet difficult to solve problem.

  2. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 12 Feb 2010 Link to this post

    Hey Nicole,

    The control your looking for that would mimic the marquee html element would be the RadTicker control. It renders one line at a time. You don't really need to pass it a datasource to get it to render, although you can. I'm assuming you can dynamically add items to the control with what you want it to display.

    I hope that helps.
  3. Fiko
    Fiko avatar
    1406 posts

    Posted 12 Feb 2010 Link to this post

    Hello Nicole,

    Indeed, the RadRotator control can be used to rotate the items (text in your case). In the newer versions - released in 2009 and later, we introduced jQuery animation in the RadRotator control. Please note that, however, the used jQuery animation does not work exactly as you need. Instead, the control first shows an item, the rotation stops and then the next item appears, such as shown in this online demo.

    I hope that the RadRotator control will fit your requirements.

    Best wishes,
    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