Layout issues with MultiView control/tabbed display

P

paul.gibson

Hi all -

I'm using version 2.0 of the framework. Using a Multiview control to
produce a tabbed display. I'm putting two Panels in each View, one
for the "tabs", one for the content. The mark-up looks something
like:

<asp:MultiView ID="mvMain" runat="server" ActiveViewIndex="0">
<asp:View ID="View1" runat="server">
<asp:panel ID="PanelNavView1" runat="server">
<asp:Label ID="lblView1" runat="server"
Text="Tab&nbsp;for&nbsp;View1"></asp:Label>
<asp:LinkButton ID="lbView2FromView1"
runat="server">Tab&nbsp;for&nbsp;View2</asp:LinkButton>
<asp:LinkButton ID="lbView3FromView1"
runat="server">Tab&nbsp;for&nbsp;View3</asp:LinkButton>
<asp:LinkButton ID="lbView4FromView1"
runat="server">Tab&nbsp;for&nbsp;View4</asp:LinkButton>
<asp:LinkButton ID="lbView5FromView1"
runat="server">Tab&nbsp;for&nbsp;View5</asp:LinkButton>
<asp:LinkButton ID="lbView6FromView1"
runat="server">Tab&nbsp;for&nbsp;View6</asp:LinkButton>
</asp:panel>
<asp:panel ID="panelView1" runat="server">
This is the content for view 1
</asp:panel>
</asp:View>
<asp:View ID="View2" runat="server">
 
J

John Padilla

It would be easier for you to get a free tabbed control or create one of your
own ad the multiview is just that a multivlew. placing a tab strip like
control above the multivkew that supports wrapping of the tabs is the way to
go. Try CodePlex, The Code Project or search google and i am sure you will
find either a free control or a arcticle on how to build this.

Hope this helps!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top