views:

171

answers:

2
<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

A: 

Make sure you have set the NavigateUrl of your hyperlink. If it is not set the hyperlink cannot get focus and tabindex will not work.

korchev
i have (was not there). still not working.
b0x0rz
Perhaps pasting the generated output in its simplest form (strip any viewstate and irrelevant markup) would help.
korchev
not sure what info is relevant, but posted some in the question! need more?
b0x0rz
A: 

just found out what it was :( after much trouble...

in my css i used:

outline: none;

so probably it WAS getting the focus, but it was just not visible.

b0x0rz