tab control (VB.net) : Tab « Components « ASP.Net






tab 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"
%>
<script runat=server>
</SCRIPT>
<HTML>
<HEAD>
<TITLE>TabStrip and MultiPage Controls Sample Page</TITLE>
</HEAD>
<BODY>
<form runat="server">
<Font Face="Tahoma">
<IEControls:TabStrip 
    id="MyTabStrip"
    runat="server"
    TargetID="MyMultiPage"
    Orientation="Horizontal"
    ForeColor="DarkBlue"
    BackColor="DarkBlue"
    >
    <IEControls:Tab 
        id="Tab1"
        runat="server"
        Text="Wizard Step 1" 
    />
    <IEControls:TabSeparator/>
    <IEControls:Tab 
        id="Tab2"
        runat="server"
        Text="Wizard Step 2" 
    />
    <IEControls:TabSeparator />
    <IEControls:Tab 
        id="Tab3"
        runat="server"
        Text="Wizard Step 3" 
    />
    <IEControls:TabSeparator/>
</IEControls:TabStrip>
<IEControls:MultiPage 
    id="MyMultiPage"
    runat="server"
    BorderStyle=9
    BorderWidth=3
    BorderColor="DarkBlue"
    >
    <IEControls:PageView>
        <BR><B>Wizard Step 1: </B><BR>&nbsp
    </IEControls:PageView>
    <IEControls:PageView>
        <BR><B>Wizard Step 2: </B><BR>&nbsp
    </IEControls:PageView>
    <IEControls:PageView>
        <BR><B>Wizard Step 3: </B><BR>&nbsp
    </IEControls:PageView>
</IEControls:MultiPage>
</Font>
</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.Creating a Basic TabStrip Control (VB.net)
4.Using Images on a TabStrip Control (VB.net)
5.Using a TabStrip Control with a MultiPage 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)