Sliding pane Expand/collapsed when we click on TabStrip

3 posts, 1 answers
  1. venkat
    venkat avatar
    2 posts
    Member since:
    Jan 2009

    Posted 27 Jan 2009 Link to this post

    Hi All,

    In my project we are using Telerik Rad Controls.
    I have placed a tabstrip (id is tabstrip1) and  slidingpane inside of sliding zone and splitter.
    In that sliding pane i have placed one more radTabStrip(tabstrip2). Now the point is when im clicking on a tabstrip1, the slidingpane should expand. For that i have seen telerik demos splitter -> slidingzone ->programming -> client side api. Instead of href txt i need to use tabstrip. I don't know how to use and call javascript functions.
    any one can please help me to resolve this problem...

    Thanks,
    VKR
  2. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 27 Jan 2009 Link to this post

    Hello venkat,

    I suggest to use the RadTabStrip's OnClientTabSelected event as shown here and  below:

    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" OnClientTabSelected="onTabSelected">
    </telerik:RadTabStrip>

    and in the attached handler to reference the desired RadSlidingPane and call its expand method as shown in the demo you mentioned and as shown below:

     function onTabSelected()
                    {
                        var slidingZone = $find("SlidingZone1");
                        slidingZone.expandPane("RadSlidingPane1");
                    }

    I strongly recommend to learn more about javascript and its usage because it is needed in order to be able to use the advanced features and power of RadControls, e.g use the following url as a start point:

    http://www.w3schools.com/jS/js_functions.asp 

    Best wishes,
    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
  4. venkat
    venkat avatar
    2 posts
    Member since:
    Jan 2009

    Posted 29 Jan 2009 Link to this post

    Hi Svetlina 

    Thanks for giving reply..
Back to Top