Expad Collapse Mode

2 posts, 0 answers
  1. Azees
    Azees avatar
    33 posts
    Member since:
    May 2008

    Posted 06 Apr 2009 Link to this post

    I have split my pages using split bar . I need to expand and collopse in button click event

    In my code i have four links in the left pane when clcik the first link the right side first spilter become expand

    how to i expand and collopse using button click event



    telerik:RadSplitter id="RadSplitter1" runat="server" height="300" width="700">



    <telerik:RadPane id="navigationPane" runat="server" width="150">



    <a href="#" >Personnel Info</a> <br />



    <a href="#" > Project Info </a><br />



    <a href="#" > Joining Info </a><br />



    <a href="#" > Emergency Info </a><br />







    <telerik:RadSplitBar id="RadSplitbar1" runat="server" CollapseMode="Forward"></telerik:RadSplitBar>



    <telerik:RadPane id="contentPane" runat="server" scrolling="none">



    <telerik:RadSplitter id="RadSplitter2" runat="server" orientation="Horizontal">



    <telerik:RadPane id="topPane" runat="server">


    Nested Splitter Top Pane





    <telerik:RadSplitBar id="RadSplitbar2" runat="server" CollapseMode="Forward">






    <telerik:RadPane id="bottomPane" runat="server">


    Nested Splitter Bottom Content













  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 06 Apr 2009 Link to this post

    Hello Azees,

    I suggest to obtain a reference to the RadPane client-side object and to use its client-side API methods expand() and collapse() to control the behavior through code.

    You can find a similar online demo below:


    Sincerely yours,
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top