sidney smith
Top achievements
Rank 1
sidney smith
asked on 03 May 2007, 07:51 PM
It works in the old radsplitter,but this one I cannot seem to colapse the darned pane!
(from code behind)
(from code behind)
3 Answers, 1 is accepted
0
Hello Sidney,
I tried the following code:
| <form id="form1" runat="server"><asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> |
| <rad:RadSplitter id="RadSplitter1" runat="server" FullScreenMode="true"> |
| <rad:RadPane id="RadPane1" runat="server" Collapsed="true"> |
| Left Pane |
| </rad:RadPane> |
| <rad:RadSplitBar id="RadSplitBar1" runat="server" CollapseMode="Both"></rad:RadSplitBar> |
| <rad:RadPane id="RadPane2" runat="server" scrolling="none"> |
| RightPane |
| </rad:RadPane> |
| </rad:RadSplitter> |
| </form> |
and everything worked as expected.
Could you please send us a simple running project where this issue could be observed?
Regards,
Petio Petkov
the telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
sidney smith
Top achievements
Rank 1
answered on 04 May 2007, 04:42 PM
No I mean from C# IE server side code
sample is mypane.Collapsed=true;
nothing fancy...
sample is mypane.Collapsed=true;
nothing fancy...
0
Hello,
Here is some sample code that collapses the pane on button click in code behind using RadPane1.Collapsed = true;
[ASPX]
[C#]
Please, test this code. If you still experience problems collapsing the pane server-side, please send us a project demonstrating the issue and we will work on it. Looking forward to your reply.
Best wishes,
Petya
the telerik team
Instantly find answers to your questions at the new Telerik Support Center
Here is some sample code that collapses the pane on button click in code behind using RadPane1.Collapsed = true;
[ASPX]
| <div> |
| <asp:ScriptManager id="ScriptManager" runat="server" /> |
| <telerik:radsplitter runat="server" id="RadSplitter1" > |
| <telerik:radpane id="RadPane1" runat="server"> |
| Left Pane |
| </telerik:radpane> |
| <telerik:RadSplitBar id="RadSplitBar1" runat="server" CollapseMode="Both"></telerik:RadSplitBar> |
| <telerik:radpane id="RadPane2" runat="server" scrolling="none"> |
| RightPane |
| </telerik:radpane> |
| </telerik:radsplitter> |
| <asp:button runat="server" id="CollapseButton" text="Collapse Left Pane" onclick="CollapseButton_Click" /> |
| </div> |
[C#]
| protected void Page_Load(object sender, EventArgs e) |
| { |
| } |
| protected void CollapseButton_Click(object sender, EventArgs e) |
| { |
| RadPane1.Collapsed = true; |
| } |
Please, test this code. If you still experience problems collapsing the pane server-side, please send us a project demonstrating the issue and we will work on it. Looking forward to your reply.
Best wishes,
Petya
the telerik team
Instantly find answers to your questions at the new Telerik Support Center