This is a migrated thread and some comments may be shown as answers.

Splitter Collapse

4 Answers 66 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 29 Oct 2008, 05:49 AM
Hi,

Is there any way by which I can close one split pane when clickin on another, I mean I  am using three split panes in ma pane i have two menu on either side and I want to close one menu pane when i click on other. 

waitin for ur solutions.

4 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 29 Oct 2008, 01:16 PM
Hello Sam,

In order to achieve the desired behavior you should obtain a reference to the particular RadPane which you want to collapse as explained here and than call its collapse method which can be found in the client-side API of the control.

Regards,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sam
Top achievements
Rank 1
answered on 30 Oct 2008, 05:42 AM
Hello Svetlina

thnx for the reply but it couldnt helped me. as there is no method which I could use. Let me explain the problem again,

I am using a Rad spliter with two Rad sliding pane and one rad pane. In two RAD Sliding Panes I have two menu and  the contents of these menu are displayed in Rad Pane. Now I want to collapse one Rad Sliding pane when I click on another and vise versa.

waitin for ur reply , thnx..

0
Sam
Top achievements
Rank 1
answered on 30 Oct 2008, 05:42 AM
Hello Svetlina

thnx for the reply but it couldnt helped me. as there is no method which I could use. Let me explain the problem again,

I am using a Rad spliter with two Rad sliding pane and one rad pane. In two RAD Sliding Panes I have two menu and  the contents of these menu are displayed in Rad Pane. Now I want to collapse one Rad Sliding pane when I click on another and vise versa.

waitin for ur reply , thnx..

0
Svetlina Anati
Telerik team
answered on 03 Nov 2008, 12:22 PM
Hi Sam,

I am afraid I was not able to completely understand the problem. The behavior of RadSlidingPanes by default is as you describe - when you have one RadSlidingPane expanded and you trigger the expansion of another sliding pane, the first one automatically collapses as shown here.

Would you by any chance meant that the first sliding pane is not only expanded but docked? If so, you should undock it by obtaining a reference to the parent RadSlidingZone and execute its undockPane method which is documented here.

Best wishes,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Splitter
Asked by
Sam
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Sam
Top achievements
Rank 1
Share this question
or