Freezing the Layout?

8 posts, 0 answers
  1. Jens
    Jens avatar
    27 posts
    Member since:
    Mar 2009

    Posted 14 Jul 2009 Link to this post

    Is it possible to "freeze" the layout, meaning disabling the ability to
    - move panes around?
    - resize panes?
    - disable drop-down menu in pane header?

    Regards
    Jens
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 15 Jul 2009 Link to this post

    Hello Jens,

    Yes it is possible. What you need is to set these properties that are exposed by the RadPane.
    CanDockInDocumentHost="False"  
    CanFloat="False" 
    CanUserClose="False" 
    Also, to remove the MenuItems in RadPane you can use the code bellow:
    RadPane.MenuCommands.Clear(); 



    Kind regards,
    Kaloyan
    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. DevCraft banner
  4. Jens
    Jens avatar
    27 posts
    Member since:
    Mar 2009

    Posted 16 Jul 2009 Link to this post

    That's great, thank you!
    Is it also possible to disable the resizing of panes?

    Thanks.
    Jens
  5. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 16 Jul 2009 Link to this post

    Hi Jens,

    You can use MaxWidth, MinWidth and  MaxHeight , MinHeight properties of the RadSplitContainer to prevent resizing the panes.

    Greetings,
    Kaloyan
    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. Jens
    Jens avatar
    27 posts
    Member since:
    Mar 2009

    Posted 23 Jul 2009 Link to this post

    Hey Kaloyan,

    this really isn't an option at all, because it would zero the space between panes resulting in a badly styled UI.
    Don't you have another solution for this?

    Thanks.
    Jens
  7. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 24 Jul 2009 Link to this post

    Hello Jens,

    The current version of the RadDocking control doesn't expose such a functionality to automatically freeze the whole layout.

    Kind regards,
    Kaloyan
    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. Jon
    Jon avatar
    9 posts
    Member since:
    May 2010

    Posted 31 Aug 2010 Link to this post

    You could potentially create a custom style for the RadSplitContainer and remove the RadGridResizer. This would, in theory, prevent the RadSplitContainer from being resized.
  9. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 02 Sep 2010 Link to this post

    Hello Jon,

    This is possible solution.

    All the best,
    Kaloyan
    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
DevCraft banner