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

Error:Object doesn't support this property or method

1 Answer 91 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Sumit Pokhriyal
Top achievements
Rank 1
Sumit Pokhriyal asked on 06 Apr 2010, 01:46 PM
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
var tabStrip= $find("<%= RadTabStrip1.ClientID %>");
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.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 09 Apr 2010, 09:11 AM
Hello Sumit Pokhriyal,

I've tested this code but couldn't reproduce the issue. Could you please send us simple runnable page demonstrating the problem? You should open a support ticket in order to be able to attach files. Thanks in advance

Best regards,
Yana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TabStrip
Asked by
Sumit Pokhriyal
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or