Scrollbars in TabItem Content

3 posts, 0 answers
  1. Scott Marsh
    Scott Marsh avatar
    4 posts
    Member since:
    Dec 2009

    Posted 27 Oct 2010 Link to this post

    I am having difficulty scrolling content within a fixed height tab control. I have a Tab that contains an ItemsControl, which displays a number of DataForms. As I have the height of the Tab set to 400 I only have to display more than 2 data forms in the ItemControl before I need scroll bars to view them.

    However I can find no way of having the content of the Tab scroll.

    Any ideas would be welcome.

  2. Scott Marsh
    Scott Marsh avatar
    4 posts
    Member since:
    Dec 2009

    Posted 28 Oct 2010 Link to this post

    Well, while I would still like to know how to scroll tab content, I have just realised that I can use to built in paging of the Dataform control so scrolling isn't necessary.

  3. DevCraft banner
  4. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 01 Nov 2010 Link to this post

    Hi Scott Marsh,

    You can edit the ControlTemplate of the RadTabControl  and put a ScrollViewer  to enwraps the ContentPresenter named "ContentElement". On the other hand,  you can use a ScrollViewer in the content of a particular RadTabItem .

    I prepared a sample project illustrating the described approaches. Please examine it and let me know if it satisfies your.

    Feel free to ask if you need more info. We would be glad to help you further.

    Sincerely yours,
    Petar Mladenov
    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