Rad Tab strip | Java script error

2 posts, 0 answers
  1. Alok
    Alok avatar
    3 posts
    Member since:
    Apr 2009

    Posted 21 Jun 2010 Link to this post

    Hi,
    I am using the RadTabStrip control in my project. Here I am creating the tabs and adding the controls in to the tabs dynamically. But sometime when I switch between the tabs following java script error occurs.

    Error Message: this.get_element().style is null or not an object.

    After occurring this error switching between the tabs stops working. I am creating the rad tab strip in the following way.

    <asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
        <ContentTemplate>
        <telerik:RadAjaxPanel runat="server" ID="pnlRAD">       
                <asp:Panel CssClass="productmainGrid" ID="tsDiv" runat="server">       
                        <telerik:RadTabStrip  ID="RadTabStrip1" OnTabClick="RadTabStrip1_TabClick"
                                        runat="server" MultiPageID="RadMultiPage1" OnClientLoad="OnClientLoad"  EnableEmbeddedSkins="false" Skin="RadSkin" >
                        </telerik:RadTabStrip>

                        <telerik:RadMultiPage  ID="RadMultiPage1" runat="server"  OnPageViewCreated="RadMultiPage1_PageViewCreated">
                        </telerik:RadMultiPage>
            </asp:Panel>
        </telerik:RadAjaxPanel>        
        </ContentTemplate>
        </asp:UpdatePanel>

    Please suggest me the possible solution for this error.

    Thanks,
    Alok... 
  2. Yana
    Admin
    Yana avatar
    5030 posts

    Posted 23 Jun 2010 Link to this post

    Hi Alok,

    It's not recommended to place RadAjaxPanel inside UpdatePanel, please remove one of these controls.

    Kind 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
Back to Top