Scrolling through a long text in one frame

8 posts, 0 answers
  1. Kasper Bergmann
    Kasper Bergmann avatar
    14 posts
    Member since:
    Feb 2007

    Posted 18 Jun 2009 Link to this post

    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
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 19 Jun 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kasper Bergmann
    Kasper Bergmann avatar
    14 posts
    Member since:
    Feb 2007

    Posted 24 Jun 2009 Link to this post

    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
  5. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 26 Jun 2009 Link to this post

    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.
  6. Kasper Bergmann
    Kasper Bergmann avatar
    14 posts
    Member since:
    Feb 2007

    Posted 04 Jul 2009 Link to this post

    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
  7. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 06 Jul 2009 Link to this post

    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.
  8. sahil
    sahil avatar
    35 posts
    Member since:
    Jul 2008

    Posted 17 Aug 2009 Link to this post

    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.
  9. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 17 Aug 2009 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017