RadDocumentPane's header shrinking issue

9 posts, 1 answers
  1. Lax
    Lax avatar
    15 posts
    Member since:
    Mar 2015

    Posted 17 Mar 2015 Link to this post

    Hi,

    In my application, I am using a RadPaneGroup with dynamically loaded RadPanes. As new RadPanes get added to this group, the pane header shrinks. How to prevent this shrinking issue when new panes get added to the group?

    Any pointers?

    Thanks,
    Lax
  2. Kalin
    Admin
    Kalin avatar
    1350 posts

    Posted 18 Mar 2015 Link to this post

    Hi Lax,

    Can you share screenshot or video of the observed behavior? Any additional sample code would be also helpful.

    I'm looking forward to hearing from you.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. Lax
    Lax avatar
    15 posts
    Member since:
    Mar 2015

    Posted 18 Mar 2015 in reply to Kalin Link to this post

    Hi Kalin,

    Thanks for your response!

    I am attaching 2 screen shots to this post for you to verify this issue. In the first screen shot, since there is enough room available, the header text is completely visible, but as the number of RadPanes increase, the header text shrinks, in the second screen shot.

    So, just wondering if there is any property that needs to be set to keep the header from squeezing.

    Regards,
    Lax
  4. Lax
    Lax avatar
    15 posts
    Member since:
    Mar 2015

    Posted 20 Mar 2015 in reply to Lax Link to this post

    Looking forward to some pointers on this.

    Regards,
    Lax
  5. Answer
    Kalin
    Admin
    Kalin avatar
    1350 posts

    Posted 23 Mar 2015 Link to this post

    Hello,

    You can set the ScrollViewer.HorizontalScrollBarVisibility attached property in order to show arrows on both sides of the DocumentHost and don't shrink the Panes:

    <telerik:RadPaneGroup ScrollViewer.HorizontalScrollBarVisibility="Auto">

    For more details check here. Hope this helps.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. Lax
    Lax avatar
    15 posts
    Member since:
    Mar 2015

    Posted 23 Mar 2015 in reply to Kalin Link to this post

    Thanks Kalin for the response!

    It worked great.
  7. Lax
    Lax avatar
    15 posts
    Member since:
    Mar 2015

    Posted 24 Mar 2015 in reply to Lax Link to this post

    Hi Kalin,

    Just one feedback on the scrolling, it seems little sluggish, is there any reason for it?

    Regards,
    Lax
  8. Lax
    Lax avatar
    15 posts
    Member since:
    Mar 2015

    Posted 25 Mar 2015 in reply to Lax Link to this post

    Never mind, please ignore the above post, used ScrollMode to achieve desired result.

    Regards,
    Lax
  9. Kalin
    Admin
    Kalin avatar
    1350 posts

    Posted 27 Mar 2015 Link to this post

    Hi Lax,

    I'm glad you managed to achieve the desired. If you have any other question, let us know.

    Regards,
    Kalin
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top