
| Visual Basic (Declaration) | |
|---|---|
Public Class WebTab Inherits ISNet.WebUI.ISNetControl Implements ISNet.ICopyable, ISNet.IObjectState, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.Serialization.XmlSerialization.IXmlSerialize, ISNet.WebUI.IBaseISNetControl, ISNet.WebUI.IInfo, ISNet.WebUI.ILayoutSettings, ISNet.WebUI.ITemplateSync | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As WebTab | |
| C# | |
|---|---|
public class WebTab : ISNet.WebUI.ISNetControl, ISNet.ICopyable, ISNet.IObjectState, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.Serialization.XmlSerialization.IXmlSerialize, ISNet.WebUI.IBaseISNetControl, ISNet.WebUI.IInfo, ISNet.WebUI.ILayoutSettings, ISNet.WebUI.ITemplateSync | |
WebTab object is created by default to have a value of height 300px and width 500px which you can easily resize either by setting it in the property, or resizing it directly through the designer. You can specify the size of WebTab in pixels or in percentage measurement.
A WebTab object consists of a tab items collection. Each of this tab items has its own property that can be set individually, or set globally using the default property inherited from the WebTab object.
You can use WebTab control to build well-organized user interface in the form of "Tab" navigations and easily achieve modern visual styles with the ease of couple properties changes. WebTab features TrueShape rendering which lets you design a rich Windows XP-like Tab control without requiring any images.
WebTab also offers numerous innovative features, such as automatic scrolling and AllowClose. The scrolling feature lets you define as many tabs as you like without compromising the layout functions. The AllowClose feature gives a richer experience for your users by letting them close any unused tabs.
WebTab includes strong client side object model and API which lets developers to easily interact with the control programmatically. This capability enables you to extend the functions of the tab according to your application-specific scenarios.
To learn more on WebTab please refer to WebTab Overview and WebTab Features.
| C# | Copy Code |
|---|---|
protected void Page_Load(object sender, EventArgs e) { body.Style.Add("overflow", "hidden"); } protected void Button1_Click(object sender, EventArgs e) { WebTab2.LoadTabsStructureFromXml(Server.MapPath("Style1.xml")); } protected void Button2_Click(object sender, EventArgs e) { WebTab1.SaveTabsStructureToXml(Server.MapPath("Style1.xml")); } | |
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
ISNet.WebUI.ISNetControl
ISNet.WebUI.WebDesktop.WebTab
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Reference
WebTab MembersISNet.WebUI.WebDesktop Namespace
Tasks
Creating Simple TabCreating Overlapped Edges Tab
tasks
Configuring Scrolling Tab modeConfiguring Closable Tab mode
Changing Tab Position
Saving and Loading Structure Programmatically
Concepts
WebTab Overviewconcepts
WebTab FeaturesUnderstanding Tab Concepts
Enabling TrueShape rendering
Working with Complex Images