This topic illustrates how to add tab pages to a C1Tabs control in Design view, in Source view, and in code.
In Design View
Complete the following steps:
In Source View
Add the following markup between the <cc1:C1TabPage>
tags:
To write code in Source View
<cc1:C1TabPage ID="Tab1" runat="server" Text="Tab1">
</cc1:C1TabPage>
In Code
Complete the following steps:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Imports C1.Web.Wijmo.Controls.C1Tabs |
To write code in C#
C# |
Copy Code
|
---|---|
using C1.Web.Wijmo.Controls.C1Tabs; |
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Dim TabPage1 As New C1TabPage() TabPage1.Text = "TabPage1" C1Tabs1.Controls.Add(TabPage1) |
To write code in C#
C# |
Copy Code
|
---|---|
C1TabPage TabPage1 = new C1TabPage(); TabPage1.Text = "TabPage1"; C1Tabs1.Controls.Add(TabPage1); |