AutoScroll Does not work when adding controls dynamically to radtabstrip

3 posts, 0 answers
  1. deno2
    deno2 avatar
    5 posts
    Member since:
    Jul 2007

    Posted 30 May 2008 Link to this post

    Hi,

    I have a tabstrip with five tabs.

    I have set each of the tabs AutoScroll Property to true.

    When I dynamically add controls to the ContentPanel which extend beyond the size of the ContentPanel no scrollbars appear.

    How do I force the tab to look at the size of it's content and show the scrollbars?

    Thanks,

    Dene.
  2. deno2
    deno2 avatar
    5 posts
    Member since:
    Jul 2007

    Posted 30 May 2008 Link to this post

    I solved the problem by removing DockStyle.Fill from the UserControls.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 02 Jun 2008 Link to this post

    Hi deno2,

    You can try to set the AutoScroll property of TabItem ContentPanels. Setting the TabItem AutoScroll property wouldn't affect their associated ContentPanels' AutoScroll property.

    Please contact me if you need more instructions.

    Greetings,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top