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

RadTabStrip -access issue (URGENT)

1 Answer 40 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Sindu
Top achievements
Rank 1
Sindu asked on 04 Feb 2012, 07:09 PM

Hi,

I have a radsplitter control and RadPane control is inside it.

I have set contenturl property of the Radpane control and call another   aspx web page.

In this aspx page there is a radtabstrip control and 5 tabs inside it .

How can I access this tabs using Javascript or Jquery ?
I have open an another window using window.open method.

My aim is to findout selected tabs on the button click event.

Please help me ..

Thanks,

Sindu

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 06 Feb 2012, 07:28 AM
Hello,

Access the selected tab as shown.
JS:
function OnClientClick()
 {
  var RadTabStrip1 = $find("<%=RadTabStrip1.ClientID %>");
  var text=RadTabStrip1.get_selectedTab().get_text(); //to get selected tab text
  alert(text);
 }

Thanks,
Princy.
Tags
TabStrip
Asked by
Sindu
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or