Hi,
I am trying to se Client side API of Telerik RadTabStrip1 but I am getting this error Object doesn't support this property or method.
In my javascript I am taking the instance of RadTabStrip1 by this js code
but tabStrip gets the NULL value and if I write the following code
RadTabStrip1.findTabByText(text);
then RadTabStrip1 object is being made but it din't recognize any client side methods of this control and I get the error Object doesn't support this property or method.
In my aspx file I have put the control in this way
I am trying to se Client side API of Telerik RadTabStrip1 but I am getting this error Object doesn't support this property or method.
In my javascript I am taking the instance of RadTabStrip1 by this js code
var tabStrip= $find("<%= RadTabStrip1.ClientID %>");
var tab = tabStrip.findTabByText(text);
var tab = tabStrip.findTabByText(text);
but tabStrip gets the NULL value and if I write the following code
RadTabStrip1.findTabByText(text);
then RadTabStrip1 object is being made but it din't recognize any client side methods of this control and I get the error Object doesn't support this property or method.
In my aspx file I have put the control in this way
<
telerik:RadTabStrip ID="RadTabStrip1" runat="server" Height="30px"
Width="456px" ></telerik:RadTabStrip>
and from the code behind I am adding tabs to this tab strip. Please take a look of code snippet
For Each tabNode In tabList
Dim myTab1 As RadTab = New Telerik.Web.UI.RadTab
myTab1.Text = tabNode.GetAttribute("title")
tabId = tabNode.GetAttribute("id")
myTab1.Value = tabId
RadTabStrip1.Tabs.Add(myTab1)
Next
I am getting all the tabs in the Tab strip but at the same time I get the above mentioned script error also.
Please help. I have tried to find the solution entire day but nothing worked so far.