Latest web development tutorials

ASP.NET TabIndex property

Web Control Standard Properties Reference Web Control Standard Properties Reference

Definition and Usage

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

tab order for you to use to control the order of appearance when the navigation page "tab" button on the keyboard.

grammar

<asp:webcontrolid="id" TabIndex="number"runat="server" />
属性 描述
number 规定控件的 tab 键控制次序。


Examples

The following examples set the Button control's tab order:

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

The demonstration >>

Web Control Standard Properties Reference Web Control Standard Properties Reference