Resize of Radpane on Unpinned event!!!

2 posts, 0 answers
  1. Ravinder
    Ravinder avatar
    1 posts
    Member since:
    Oct 2011

    Posted 25 Oct 2011 Link to this post

    Hi Team,
    I have scenario where the radpane changes its size when it is unpinned
    Its size is lets say 240 in pinned state(doesnt have any horizontal scroll and the data looks intact),but as the unpin is done it size decreases  to 234 and an horizontal scroll bar get activated.
    I have tried relative size but with no luck.
    I need to retain the pinned size even after the unpin of the radpane is done.(So tht i can avoid the horizontal scrollbar and display the data right).

    Please advice

  2. Yana
    Yana avatar
    5042 posts

    Posted 26 Oct 2011 Link to this post

    Hi Ravinder,

    You can set AutoHideWidth and AutoHideHeight properties of the pane which will be applied when it is unpinned.

    Additionally,  you can use Unpin and PreviewUnpin events of the RadDocking control to set different sizes to the panes.

    Hope this helps.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top