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

Resize with Multipage View throws javascript error

1 Answer 44 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 14 Jan 2010, 03:59 PM
We are having a problem with our RadTabStrip and the RadMultiPage. When we resize the page on any one of our pages that have this combination and we are on the last tab of the tab strip we get a javascript error:

n is undefined
anonymous("ctl00_BodyContentPlaceHolder__distributionCenterAccounts_DistributorAccountsViewRadSplitter")Telerik....ae4f8f289 (line 5742)
anonymous("ctl00_BodyContentPlaceHolder__distributionCenterAccounts_DistributorAccountsViewRadSplitter", Object name=t value=false)Telerik....ae4f8f289 (line 5706)
anonymous()Telerik....ae4f8f289 (line 5028)
anonymous(Object name=c, Object name=b, true, Object name=l value=false)Telerik....ae4f8f289 (line 5572)
anonymous(Object name=b, Object name=c)Telerik....ae4f8f289 (line 5019)
anonymous()Telerik....ae4f8f289 (line 5851)
anonymous(Object name=c value=0, 2, true, Object name=l value=false)Telerik....ae4f8f289 (line 5585)
anonymous(Object name=b, Object name=c)Telerik....ae4f8f289 (line 5019)
anonymous()Telerik....ae4f8f289 (line 5851)
anonymous()Telerik....ae4f8f289 (line 6070)
anonymous()Telerik....ae4f8f289 (line 606)
anonymous(Object name=c, 473)Telerik....ae4f8f289 (line 5972)
anonymous(473)Telerik....ae4f8f289 (line 5939)
anonymous(473, true)Telerik....ae4f8f289 (line 5863)
anonymous(1112, 473)Telerik....ae4f8f289 (line 5041)
anonymous(true)Telerik....ae4f8f289 (line 6058)
anonymous()Telerik....ae4f8f289 (line 5104)
anonymous(Object name=c, 622)Telerik....ae4f8f289 (line 5043)
anonymous(Object name=d)Telerik....ae4f8f289 (line 5279)
anonymous()Telerik....ae4f8f289 (line 5253)
anonymous()Telerik....ae4f8f289 (line 6)
anonymous(resize )Telerik....ae4f8f289 (line 6)

Is there something that we are doing wrong with this? Here is the tab strip snippet:

            <telerik:RadSplitter runat="server" Orientation="Horizontal" ID="ManageReceivedOrdersSplitter" Width="100%" Height="100%" > 
                <telerik:RadPane ID="RadPane2" runat="server" Height="25px" Width="100%" Scrolling="None"
                    <telerik:RadTabStrip ID="ManageDistributionCentersRadTabStrip" runat="server" MultiPageID="ManageDistributionCentersMultiPage"   
                        SelectedIndex="0" CausesValidation="false" AutoPostBack="true" OnTabClick="ManageDistributionCentersTab_OnClick" > 
                        <Tabs> 
                            <telerik:RadTab Text="<%$Resources:AdministrationLanguage, Orders%>" Value="Orders" PageViewID="ReceivedOrdersPageView" /> 
                            <telerik:RadTab Text="Accounts" Value="Accounts" PageViewID="AccountsRadPageView"/> 
                        </Tabs> 
                    </telerik:RadTabStrip> 
                </telerik:RadPane>     
                <telerik:RadPane runat="server" Width="100%" Height="100%"
                    <telerik:RadMultiPage ID="ManageDistributionCentersMultiPage" runat="server" Height="100%" SelectedIndex="0" RenderSelectedPageOnly="true" > 
                     
                        <telerik:RadPageView ID="ReceivedOrdersPageView" runat="server" Width="100%" Height="100%" > 
                            <asp:PlaceHolder ID="ReceivedOrdersPlaceHolder" runat="server" /> 
                        </telerik:RadPageView> 
                   
                        <telerik:RadPageView ID="AccountsRadPageView" runat="server" Width="100%" Height="100%" > 
                            <itn:DistributorAccountsControl id="_distributionCenterAccounts" runat="server" /> 
                        </telerik:RadPageView> 
                         
                     </telerik:RadMultiPage> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 

Like I said, it seems to happen on the last tab of the tab strip and for any page that we have this on and when we resize the page. Thanks in advance.

Mike



1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 15 Jan 2010, 04:17 PM
Hello Mike,

We cannot observe this issue with the provided code, please send us complete runnable page demonstrating the problem.

Regards,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TabStrip
Asked by
Mike
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or