ASP.NET TabIndexProperties


Web 控件标准属性参考手册Web Controls Standard Properties Reference Manual

Definition and Usage

The TabIndex property is used to set or return the tab order of a control.

The tab order is the order in which controls appear when you use the "tab" key on the keyboard to navigate the page.

Syntax

<asp:webcontrol id="id" TabIndex="number" runat="server" />
 
Property Description
number Specifies the tab order of the control.


Examples

The following example sets the tab order of the Button control:

<form runat="server">
<asp:CheckBox id="check1" TabIndex="1" runat="server" />
</form>

Show example »

Web 控件标准属性参考手册Web Controls Standard Properties Reference Manual Other Extensions