RadTabStrip : MultiPage with one person working per pageview

9 posts, 0 answers
  1. Manishkumar
    Manishkumar avatar
    240 posts
    Member since:
    Feb 2009

    Posted 10 Feb 2009 Link to this post

    Hi,

    Is it possible that we can have nultiple person working at a time on one tabstrip with one person per pageview? Means onclick of other tab tabstrip remains intact and other tab opens with in tabstrip(which is diff page altogather) using RadTabstrip?

    Manish

  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 10 Feb 2009 Link to this post

    Hi Manishkumar,

    I'm afraid we cannot understand your scenario. Could you please provide more details / screenshots or anything that will help us?

    Thanks,
    Paul
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Manishkumar
    Manishkumar avatar
    240 posts
    Member since:
    Feb 2009

    Posted 10 Feb 2009 Link to this post

    Hi,

    Let me take an Example :

    One TabStrip has 4 tabs. Hence 4 Page views. But in typical scenario all pageviews are on the same page with Tabstrip. Is it possible that i can create separate usercontrol/page and treat one pageview as user control (So pageview, which is user control in this case , is not tightly coupled with Tabstrip but can be a separate entity loaded on demand) ?

    Manish
  4. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 10 Feb 2009 Link to this post

    Aha, now I think I got your point, Manishkumar.

    Basically, there is more than one solution for your case.

    1) Use masterpage and tabstrip control only (no multipage). In this scenario, each tab will point to different ASPX page. For example:

    MasterPage.master:
    <form id="form1" runat="server"
        <div> 
            <asp:ScriptManager ID="ScriptManager1" runat="server"
            </asp:ScriptManager> 
            <telerik:RadTabStrip ID="RadTabStrip1" runat="server"
                <Tabs> 
                    <telerik:RadTab runat="server" Text="Root RadTab1" NavigateUrl="Default.aspx"
                    </telerik:RadTab> 
                    <telerik:RadTab runat="server" Text="Root RadTab2" NavigateUrl="Default2.aspx"
                    </telerik:RadTab> 
                    <telerik:RadTab runat="server" Text="Root RadTab3" NavigateUrl="Default3.aspx"
                    </telerik:RadTab> 
                </Tabs> 
            </telerik:RadTabStrip> 
            <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"
            </asp:ContentPlaceHolder> 
        </div> 
    </form> 

    MasterPage.master.cs:
    using System; 
    using System.Data; 
    using System.Configuration; 
    using System.Collections; 
    using System.Web; 
    using System.Web.Security; 
    using System.Web.UI; 
    using System.Web.UI.WebControls; 
    using System.Web.UI.WebControls.WebParts; 
    using System.Web.UI.HtmlControls; 
    using Telerik.Web.UI; 
     
    public partial class MasterPage : System.Web.UI.MasterPage 
        protected void Page_Load(object sender, EventArgs e) 
        { 
            RadTab tab = RadTabStrip1.FindTabByUrl(Request.Url.PathAndQuery); 
            if (tab != null
            { 
                tab.Selected = true
                tab.SelectParents(); 
            } 
        } 
     

    2) Load separate UserControls inside the pageviews. You can check the following examples that shows this approach.

    Dynamic RadPageView
    Load On Demand RadPageView

    I hope this will help.

    Greetings,
    Paul
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Alex
    Alex avatar
    3 posts
    Member since:
    Jan 2009

    Posted 12 Feb 2009 Link to this post

    I'm using Solution #1 in the latest response. Is is possible to do this without a full page load. I'm wanting to avoid a full screen refresh.

    Thanks
    Alex
  6. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 12 Feb 2009 Link to this post

    Hello Alex,

    Actually, in this case you are navigating to a totally new page thus you cannot avoid the screen flash.

    Still, you can archive your goal by loading the new pages inside iframe (using the Target property of the tab), however iframes have other cons.

    All the best,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. Alex
    Alex avatar
    3 posts
    Member since:
    Jan 2009

    Posted 12 Feb 2009 Link to this post

    Yeah, that's sort of what I figured. We went the iframe route, but screen real estate is at a premium and housing the pages in iframes was limiting certain radwindows from displaying all of their content without a bunch of scrolling. It was one of the major complaints with out tool. But thanks for the info.

    Alex
  8. David
    David avatar
    2 posts
    Member since:
    Aug 2009

    Posted 14 Aug 2009 Link to this post

    Hi Paul,

    In your suggested solution where you state the following:

    "2) Load separate UserControls inside the pageviews. You can check the following examples that shows this approach"

    Can you load an aspx page instead of a user control?

    Thanks,
    Dave
  9. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 17 Aug 2009 Link to this post

    Hi David,

    You can load ASPX pages inside iframe only. This approach, however, is not quite recommended as using iframes has other cons.

    Regards,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top