Maximizing and minimizing RadSlidingPane

2 posts, 0 answers
  1. Sergii
    Sergii avatar
    1 posts
    Member since:
    Jun 2012

    Posted 04 Jun 2012 Link to this post

    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.
  2. Niko
    Niko avatar
    383 posts

    Posted 07 Jun 2012 Link to this post

    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,
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top