TABINDEX not working on HyperLinks

Posted by b0x0rz on Stack Overflow See other posts from Stack Overflow or by b0x0rz
Published on 2010-05-17T21:31:08Z Indexed on 2010/05/22 14:10 UTC
Read the original article Hit count: 273

Filed under:
|
|
|
<asp:HyperLink ID="SignIn" runat="server" CssClass="SignIn" TabIndex="3">Sign In</asp:HyperLink>

the problem with the above is that TABINDEX does not work. I have also a username and password TEXTBOXES and the tabindex works with them, but the hyperlink does not work.

i need it also on other links, so replacing a sign in with a button is not helping me much, unless i replace all links with a button.

how to figure out why the hyperlink's tabindex is not working?

thnx

edit ** more info **

<input name="ctl00$ctl00$GlobalPageContentPlaceHolder$SearchPageContentPlaceHolder$KeywordsTextbox" type="text" maxlength="80" id="KeywordsTextbox" class="KeywordsTextbox" />

<a id="GlobalPageContentPlaceHolder_SearchPageContentPlaceHolder_SearchLinkButton" class="SearchLinkButton" href="javascript:__doPostBack(&#39;ctl00$ctl00$GlobalPageContentPlaceHolder$SearchPageContentPlaceHolder$SearchLinkButton&#39;,&#39;&#39;)">Search Now</a>

whn tab-ing it works for the input, but not for link.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET