How can i Click Button set Docking Floating to Docked Left ?

4 posts, 0 answers
  1. Watit
    Watit avatar
    37 posts
    Member since:
    Oct 2011

    Posted 21 Nov 2012 Link to this post

    I can only made code set button click Docked to Floating
    but i can't mode button click Docking Floating to Docked Left.
    have any way to help solution.
    Thank You
  2. Georgi
    Admin
    Georgi avatar
    347 posts

    Posted 25 Nov 2012 Link to this post

    Hi Watit,

    There is no straightforward solution and it depends on what your are trying to achieve. So if you want to dock it on its previous position you need to remember it and add the pane as a child of the specific PaneGroup. In case where you need to add it where there is no PaneGroup or SplitContainer  new ones need to be generated. In order to specify where the Pane to be dock you can use the InitialPosition property of the SplitContainer.
    Hope this will help.


    All the best,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Watit
    Watit avatar
    37 posts
    Member since:
    Oct 2011

    Posted 26 Nov 2012 Link to this post

    I try to use InitialPosition but not lucky,  erro message aleady element.
    radSplitContainer.InitialPosition = Telerik.Windows.Controls.Docking.DockState.DockedLeft
    have you demo project for this case?
    
    Thank you very much.
  5. Georgi
    Admin
    Georgi avatar
    347 posts

    Posted 29 Nov 2012 Link to this post

    Hi Watit,

    I am attaching a simple project where maximize button is used to maximize the pane and then return it to its original position. Please note that this is a custom made code and it might not work in some other scenarios.
    If you have any questions, please don't hesitate to contact us.

    Regards,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top