Using Images on a TabStrip 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>
Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs)
End Sub
</SCRIPT>
<HTML>
<HEAD>
<TITLE>Using Images on a TabStrip Control</TITLE>
</HEAD>
<BODY LEFTMARGIN="40">
<form runat="server">
<IEControls:tabstrip
id="MyTabStrip"
runat="server"
>
<IEControls:tab
id="Tab1"
runat="server"
text=" The first button "
defaultimageurl="3.ico"
selectedimageurl="smile.ico"
hoverimageurl="4.ico"
/>
<IEControls:TabSeparator />
<IEControls:tab
id="Tab2"
runat="server"
Text=" The second button "
defaultimageurl="3.ico"
selectedimageurl="smile.ico"
hoverimageurl="4.ico"
/>
<IEControls:TabSeparator />
<IEControls:tab
id="Tab3"
runat="server"
Text=" The third button "
defaultimageurl="3.ico"
selectedimageurl="smile.ico"
hoverimageurl="4.ico"
/>
</IEControls:tabstrip>
<BR><BR>
<asp:label
id="lblMessage"
runat=server
/>
</form>
</BODY>
</HTML>
Related examples in the same category