Error:Object doesn't support this property or method

2 posts, 0 answers
  1. Sumit Pokhriyal
    Sumit Pokhriyal avatar
    2 posts
    Member since:
    Dec 2009

    Posted 06 Apr 2010 Link to this post


    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
    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



    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.

  2. Yana
    Yana avatar
    5043 posts

    Posted 09 Apr 2010 Link to this post

    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,
    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.
Back to Top