Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<%@ Import
Namespace="Microsoft.Web.UI.WebControls" %>
<%@ Register TagPrefix="mytab"
Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<script runat="server">
protected void myTabStrip_OnSelectedIndexChange(object sender, EventArgs e)
{
switch (myTabStrip.SelectedIndex)
{
case 0:
Page.Navigate("/myweb/about.htm");
break;
case 1:
Page.Navigate("/myweb/intranet/resources/default.aspx");
break;
}
// but ofcourse you could post your stuff or auto
// sql server or send and sms with the content of
// the page etc... since it causes a postback!
}
</script>
<myns:TabStrip runat="server"
ID="myTabStrip"
Orientation="Horizontal"
AutoPostback="true">
<myns:Tab Text="About Us" ID="tabAbout"/>
<myns:TabSeparator/>
<myns:Tab Text="Resources" ID="tabResources"/>
</myns:TabStrip>