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

Scrolling through a long text in one frame

7 Answers 100 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Kasper Bergmann
Top achievements
Rank 1
Kasper Bergmann asked on 18 Jun 2009, 11:57 AM
Hi

I have a long piece of text, I would like to be scrolled in a box. How can it be accomplished by RadRotator? It is not possible to split the text into smaller frames rotating through the frames, it all should be in only one frame.

Best regards,

Kasper Bergmann

7 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 19 Jun 2009, 01:36 PM
Hello Kasper,

I recommend you set an appropriate Height and Width of the ItemTemplate in order to show the text on several lines. For your convenience I prepared a demo and attached it to the thread.

I hope this helps.

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.
0
Kasper Bergmann
Top achievements
Rank 1
answered on 24 Jun 2009, 11:12 PM
Hi Fiko

Thanks for your reply, but it is not exactly what I asked about.

Let us say that we have one piece of text, which is 50 lines long. We have a box on the page, which can show only 5 lines of text due to e.g. layout constraints.

We would like the box (=RadRotator) to smoothly scroll through all the 50 lines, while only 5 lines are visible at once for the user.

It is not possible to split the text up into 10 pieces x 5 lines.

How can it be done with RadRotator?

Regards,

Kasper
0
Fiko
Telerik team
answered on 26 Jun 2009, 08:48 AM
Hello Kasper,

The main purpose of the RadRotator control is to rotate items. The item's content can be text or HTML data (contains several elements), but please note that the rotator control manipulates the whole item object, not only a part of it. You need to form the content of an RadRotator's item yourself, because the rotator control does not control the data representation inside the ItemTempale - it manipulates the whole item container.
This being said that your scenario can be covered with the RadRotator control, but only if you split the text and load the split text in different RadRotator's items

All the best,
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.
0
Kasper Bergmann
Top achievements
Rank 1
answered on 04 Jul 2009, 10:48 AM
Hi Fiko,

Then I would like to suggest this as a new feature to the RadRotator. I am sure that you guys will find out an excellent way of doing it as usual.

Regards,

Kasper
0
Fiko
Telerik team
answered on 06 Jul 2009, 03:52 PM
Hello Kasper,

Thank you for the feedback and the suggestion. We logged it in our ToDo list and we will try implement it for one of the following releases.

Greetings,
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.
0
sahil
Top achievements
Rank 1
answered on 17 Aug 2009, 05:22 AM
Is it Possible??

Scrolling through a long text in one frame


If possible .
then can you attached a demo project or  Code ???
So i understand it better.
0
Georgi Tunev
Telerik team
answered on 17 Aug 2009, 02:06 PM
Hello sahil,

This is possible by using RadTicker - you could also put it in RadRotator in order to have multiple items. A demo is available here:
http://demos.telerik.com/aspnet-ajax/rotator/examples/ticker/defaultcs.aspx


Kind regards,
Georgi Tunev
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.
Tags
Rotator
Asked by
Kasper Bergmann
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Kasper Bergmann
Top achievements
Rank 1
sahil
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or