TabStrip and MultiPageView

2 posts, 0 answers
  1. HSD
    HSD avatar
    27 posts
    Member since:
    Jun 2007

    Posted 21 Apr 2008 Link to this post

    How do I display multiple views?

    What I mean by that is, I may want to display page1, page2, and page3 separatly BUT when I click on "ALL" it displays all of them.

    Can this be done without postback?


  2. Paul
    Paul avatar
    4281 posts

    Posted 22 Apr 2008 Link to this post

    Hello RogerMCT,

    Here's a sample code snippet that shows the approach.

    <form id="form1" runat="server">     
        <asp:ScriptManager ID="ScriptManager1" runat="server">     
        <script type="text/javascript">     
        function test()     
            var multiPage = $find("<%=RadMultiPage1.ClientID %>");     
            var i;     
            for(i=0; i<multiPage.get_pageViews().get_count();i++)     
        <telerik:RadMultiPage ID="RadMultiPage1" runat="server">     
            <telerik:RadPageView ID="RadPageView1" runat="server">     
            <telerik:RadPageView ID="RadPageView2" runat="server">     
            <telerik:RadPageView ID="RadPageView3" runat="server">     
            <telerik:RadPageView ID="RadPageView4" runat="server">     
        <input id="Button1" type="button" value="button" onclick="test()" />    

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top