Using a TabStrip Control with a MultiPage Control (VB.net) : Tab « Components « ASP.Net






Using a TabStrip Control with a MultiPage Control (VB.net)

<%@ Page Language=VB Debug=true %>
<%@ Import Namespace="Microsoft.Web.UI.WebControls" %>
<%@ Register TagPrefix="IEControls" 
    Namespace="Microsoft.Web.UI.WebControls" 
    Assembly ="Microsoft.Web.UI.WebControls"
%>
<HTML>
<HEAD>
<TITLE>Using a TabStrip Control with a MultiPage Control</TITLE>
</HEAD>
<BODY LEFTMARGIN="40">
<form runat="server">
<IEControls:tabstrip 
    id="MyTabStrip"
    runat="server"
    targetid="MyMultiPage"
    >
    <IEControls:tab 
        id="Tab1"
        runat="server"
        text="&nbspName&nbsp"
        tooltip="Click Me!!!"
    />
    <IEControls:TabSeparator />
    <IEControls:tab 
        id="Tab2"
        runat="server"
        Text="&nbspEmail Address&nbsp" 
    />
    <IEControls:TabSeparator />
    <IEControls:tab 
        id="Tab3"
        runat="server"
        Text="&nbspPassword&nbsp" 
    />
</IEControls:tabstrip>
<IEControls:multipage 
    id="MyMultiPage"
    runat="server"
    selectedindex=0
    >
    <IEControls:PageView
        id="pv1"
        runat=server
        font-name="Arial"
        font-bold=True
        forecolor="yellow"
        backcolor="darkred"
    >
        Enter your name:<BR>
        <asp:textbox 
        id="txtName" 
        runat=server 
        />    
        <BR>
    </IEControls:PageView>    
    <IEControls:PageView
        id="pv2"
        runat=server
        font-name="Arial"
        font-bold=True
        forecolor="darkred"
        backcolor="yellow"
    >
        Enter your email address:<BR>
        <asp:textbox 
        id="txtEmail" 
        runat=server 
        />    
    </IEControls:PageView>    
    <IEControls:PageView
        id="pv3"
        runat=server
        font-name="Arial"
        font-bold=True
        forecolor="darkblue"
        backcolor="green"
    >
        Enter your password:<BR>
        <asp:textbox 
        id="txtPassword" 
        runat=server 
        />    
    </IEControls:PageView>    
</IEControls:multipage>
</form>
</BODY>
</HTML>
           
       








Related examples in the same category

1.Use asp:Menu and asp:MultiView to create tab control (C#)
2.Tab control Demo (C#)
3.tab control (VB.net)
4.Creating a Basic TabStrip Control (VB.net)
5.Using Images on a TabStrip Control (VB.net)
6.Setting the Orientation of a TabStrip Control (VB.net)
7.TabStrip Control: tab clicked event (VB.net)
8.Using TabSeparator Controls with a TabStrip Control (VB.net)