Pages

Tuesday, February 21, 2012

how to disable tabindex on controls in asp.net

For disabling tab just set TabIndex of any control to -1.

ex.

 <asp:TextBox ID="tbTotalAmount" runat="server" TabIndex="-1" ></asp:TextBox>

1 comment:

  1. This is one is good. But I need to disable tabindex for all the controls in a div element. Can you help me on this.

    ReplyDelete