Tabstrip display all pageview on first load !

3 posts, 0 answers
  1. Pierre-Henri
    Pierre-Henri avatar
    6 posts
    Member since:
    Jun 2011

    Posted 07 Nov 2012 Link to this post


    I'm using Tabstrig in an user control that is dynamicly loaded in my page
    Below is the code of my user control :

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="org_crscls.ascx.cs" Inherits="WBTManager.manageUser.org_crscls" %>
    <%@ Reference Page="org.aspx" %>
    <telerik:RadScriptBlock ID="PageRadScriptBlock" runat="server">
        <script type="text/javascript">
            ActiveTab('org_crscls_td', 'OrgMenu_selected', 'OrgMenu', 'td', 'tableOrgMenu');
            var theForm = document.getElementById('wbtform');
            function checkForm(pForm) {
                var bTest = true;
                return bTest;
    <div id="OrgContent" class="OrgContent">
        <telerik:RadTabStrip ID="RadTabHtml" SelectedIndex="0" runat="server" MultiPageID="RadMultiPageCrsCls">
                <telerik:RadTab runat="server" Text="Courses" PageViewID="RadPageViewCourses">
                <telerik:RadTab runat="server" Text="Classes" PageViewID="RadPageViewClasses">
        <telerik:RadMultiPage ID="RadMultiPageCrsCls" runat="server" SelectedIndex="0">
            <telerik:RadPageView ID="RadPageViewCourses" runat="server">
            <telerik:RadPageView ID="RadPageViewClasses" runat="server">
    <div class="WinButton">
        <div class="WinButtonDetailsAdmin">
            <asp:Button id="BtnCancel" runat="server" Cssclass="button90_second_action" OnClientClick="CloseRadWindow();" />
            <asp:Button id="BtnSubmit" runat="server" Cssclass="button90_main_action" OnClientClick="return(checkForm(theForm));" />

    When I first load my control, the first tabstrip element is selected but both pageview appears...
    If I then click on the second tab, only the 2nd pageview displays  (that's fine...)
    If I go back to the first tab, only the 1st pageview displays  (fine too...)

    My problem is at the first load of the control.
    My code behind page doesn't contain anything regarding the tabstrip or pageview.

    Has someone alreday faced that issue ? nad has a solution ?


  2. Pierre-Henri
    Pierre-Henri avatar
    6 posts
    Member since:
    Jun 2011

    Posted 08 Nov 2012 Link to this post


    Solved my issue...
    I just forgot to include multipage.css !
  3. Nencho
    Nencho avatar
    1643 posts

    Posted 09 Nov 2012 Link to this post

    Hi Pierre,

    I am glad to see, that the issue you had faced, is now resolved.

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top