PDA

View Full Version : How to refer to TabPanel in ASP Content



red4life
13 Oct 2009, 5:53 PM
Can anyone tell me how to set the active tab from Javascript when the TabPanel is in an ASP content container (content page built from a master page).

var t=document.getElementById('<%= TabPanel.ClientID %>');
t.setActiveTab('tab3);

throws an error.

Many thanks.