This is a migrated thread and some comments may be shown as answers.

Old-school marquee?

2 Answers 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nicole Griesmeyer
Top achievements
Rank 1
Nicole Griesmeyer asked on 10 Feb 2010, 01:20 AM
Hi,

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.

Nicole

2 Answers, 1 is accepted

Sort by
0
robertw102
Top achievements
Rank 1
answered on 12 Feb 2010, 04:24 PM
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.
0
Fiko
Telerik team
answered on 12 Feb 2010, 04:45 PM
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,
Fiko
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.
Tags
General Discussions
Asked by
Nicole Griesmeyer
Top achievements
Rank 1
Answers by
robertw102
Top achievements
Rank 1
Fiko
Telerik team
Share this question
or