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

Sliding pane Expand/collapsed when we click on TabStrip

2 Answers 61 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
venkat
Top achievements
Rank 1
venkat asked on 27 Jan 2009, 11:46 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 27 Jan 2009, 03:16 PM
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.
0
venkat
Top achievements
Rank 1
answered on 29 Jan 2009, 06:42 AM
Hi Svetlina 

Thanks for giving reply..
Tags
Splitter
Asked by
venkat
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
venkat
Top achievements
Rank 1
Share this question
or