Occurs on the server when a tab in the RadTabStrip control is created.
Example
The following example demonstrates how to use the
TabCreated event
to set the
ToolTip property of each tab.
Event Data
The event handler receives an argument of type TabStripEventArgs containing data related to this event. The following TabStripEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Tab |
Gets the referenced Tab in the
RadTabStrip control when the event is raised.
|
Namespace: Telerik.WebControls
Assembly: RadTabStrip (in RadTabStrip.dll)
Syntax
Event Data
The event handler receives an argument of type TabStripEventArgs containing data related to this event. The following TabStripEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Tab |
Gets the referenced Tab in the
RadTabStrip control when the event is raised.
|
Example
The following example demonstrates how to use the
TabCreated event
to set the
ToolTip property of each tab.
| C# | Copy Code |
|---|
private void RadTabStrip1_TabCreated(object sender, Telerik.WebControls.TabStripEventArgs e)
{
e.Tab.ToolTip = e.Tab.Text;
}
|
| Visual Basic | Copy Code |
|---|
Sub RadTabStrip1_TabCreated(ByVal sender As Object, ByVal e As TabStripEventArgs) Handles RadTabStrip1.TabCreated
e.Tab.ToolTip = e.Tab.Text
End Sub
|
Remarks
Requirements
Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also