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

Maximizing and minimizing RadSlidingPane

1 Answer 38 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Sergii
Top achievements
Rank 1
Sergii asked on 04 Jun 2012, 05:31 PM
Hello.
I have the following question.
I have one RadPane which includes three RadPanes. First internal RadPane includes RadSlidingPane.
Is it possible to maximize (and then minimize) this RadSlidingPane in the way that it will be fit into external RadPane ?
Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Niko
Telerik team
answered on 07 Jun 2012, 04:09 PM
Hi Sergii,

What you could do is set the width of the sliding pane within the OnClientLoaded event of the RadSplitter. Here is a sample code to do this:
slidingPane.set_width(splitter.get_width() - slidingZone.get_width())
The size of the sliding zone should be subtracted as the sliding pane starts from it onwards. After that the sliding pane will be with the width of the splitter when expanding.
Please, note that docking the sliding pane in this scenario will break the layout of the splitter as a sliding pane with greater width that the containing pane is not a by default supported scenario.

Hope this helps.

Kind regards,
Niko
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Splitter
Asked by
Sergii
Top achievements
Rank 1
Answers by
Niko
Telerik team
Share this question
or