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

RadTabStrip : MultiPage with one person working per pageview

8 Answers 207 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Manishkumar
Top achievements
Rank 1
Manishkumar asked on 10 Feb 2009, 07:56 AM
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

8 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 10 Feb 2009, 11:30 AM
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.
0
Manishkumar
Top achievements
Rank 1
answered on 10 Feb 2009, 12:52 PM
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
0
Paul
Telerik team
answered on 10 Feb 2009, 01:25 PM
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.
0
Alex
Top achievements
Rank 1
answered on 12 Feb 2009, 04:16 PM
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
0
Paul
Telerik team
answered on 12 Feb 2009, 04:23 PM
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.
0
Alex
Top achievements
Rank 1
answered on 12 Feb 2009, 05:02 PM
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
0
David
Top achievements
Rank 1
answered on 14 Aug 2009, 10:32 PM
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
0
Paul
Telerik team
answered on 17 Aug 2009, 11:53 AM
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.
Tags
TabStrip
Asked by
Manishkumar
Top achievements
Rank 1
Answers by
Paul
Telerik team
Manishkumar
Top achievements
Rank 1
Alex
Top achievements
Rank 1
David
Top achievements
Rank 1
Share this question
or