I have copied part of the online tabstrip/javascript demo located at http://www.telerik.com/demos/aspnet/TabStrip/Examples/Programming/ClientSideAPI/DefaultCS.aspx but I am not getting the results I expect when I run the project.
If I try the original tab assignation in the example:
function tabClicked() {
var currentTab = <%= RadTabStrip1.ClientID %>.SelectedTab;
var message = currentTab.Text;
alert(message);
}
I get the error - 'Text' is null or not an object at the "var message = " assignation line.
I also notice that the Visual Studio 2008 IDE indicates "Expected expression" when I hover over the "<" of <%= RadTabStrip1...
Is there some vital step that I have missed or some fundamental error/assumption that I've made?
TIA,
John.
If I try the original tab assignation in the example:
function tabClicked() {
var currentTab = <%= RadTabStrip1.ClientID %>.SelectedTab;
var message = currentTab.Text;
alert(message);
}
I get the error - 'Text' is null or not an object at the "var message = " assignation line.
I also notice that the Visual Studio 2008 IDE indicates "Expected expression" when I hover over the "<" of <%= RadTabStrip1...
Is there some vital step that I have missed or some fundamental error/assumption that I've made?
TIA,
John.