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

    By

    Friend











    <
    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:RadPane>

     

     

    <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:RadPane>

     

     

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

     

     

    </telerik:RadSplitBar>

     

     

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

     

    Nested Splitter Bottom Content

     

    </telerik:RadPane>

     

     

    </telerik:RadSplitter>

     

     

    </telerik:RadPane>

     

     

    </telerik:RadSplitter>

     

  2. Svetlina Anati
    Admin
    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:

    http://demos.telerik.com/aspnet-ajax/splitter/examples/clientsideapi/defaultcs.aspx

    Sincerely yours,
    Svetlina
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top