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

Nothing is being displayed inside RadTabs

1 Answer 18 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 15 Jul 2013, 05:50 PM

I am trying to display things under tabs with radtabstrip.However, the radtabs are not displaying the data they are supposed to display under tabs. Can some one help me with this?

<telerik:RadTabStrip ID="RadTabStrip1" runat="server">
    <Tabs>
       <telerik:RadTab Text="Tab 1" PageViewID="RadPageView1">
        </telerik:RadTab>
        <telerik:RadTab Text="Tab 2" PageViewID="RadPageView2" >
        </telerik:RadTab>
    </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server">
        <telerik:RadPageView ID="RadPageView1" runat="server" >
            <p> Hi</p></telerik:RadPageView>
        <telerik:RadPageView ID="RadPageView2" runat="server" Width="100%">

            PageView 2</telerik:RadPageView>
    </telerik:RadMultiPage>

Thanks.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 16 Jul 2013, 07:43 AM
Hi John,

You have not set the MultiPageID property of the RadTabStrip. Even if you set the PageViewID of the RadTab, the contents wont be displayed unless you set the MultiPageID property to the corresponding RadMultiPage. Please check the following mark-up.

ASPX:
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1">
    <Tabs>
        <telerik:RadTab Text="Tab 1" PageViewID="RadPageView1">
        </telerik:RadTab>
        <telerik:RadTab Text="Tab 2" PageViewID="RadPageView2">
        </telerik:RadTab>
    </Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="RadMultiPage1" runat="server">
    <telerik:RadPageView ID="RadPageView1" runat="server">
        <p>
            Hi</p>
    </telerik:RadPageView>
    <telerik:RadPageView ID="RadPageView2" runat="server" Width="100%">
        PageView 2</telerik:RadPageView>
</telerik:RadMultiPage>

Thanks,
Shinu.
Tags
TabStrip
Asked by
John
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or