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

Rad Tab strip | Java script error

1 Answer 30 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Alok
Top achievements
Rank 1
Alok asked on 21 Jun 2010, 02:59 PM
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... 

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 23 Jun 2010, 02:58 PM
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
Tags
TabStrip
Asked by
Alok
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or