So I have a pretty basic WebDialogWindow that I'm showing in Modal mode, which contains an HTML table which in turn has some asp:Label and asp:Textbox controls; and below that there are OK and Cancel asp:Buttons.
The asp:TextBox controls have their TabIndex attributes set to incrementing values (1, 2, 3, 4, etc).
And in Chrome and IE8 I can tab between the textboxes fine.
BUT, in IE9, it doesn't work. Instead the first time I hit tab, the focus shifts to the buttons and then will never return to the textboxes above them.
When I look at the Source that's being displayed in the IE9 browser, the input tags for the textboxes do have the tabindex values set correctly.
SO, in summary:
The Tabindex works as expected in Chrome and IE8 for controls on a WebDialogWindow being displayed modally.
It doesn't work in IE9.
Thoughts?
Thanks!
Hi
IS this problem resolved? I am still g=facing this problem. I have couple of drop downs in one tab and then two text boxes in another tab. It skips one text box even after setting all tab index values correct.
I installed 2011, and it *almost* fixed this... now when in modal mode, it tabs through the fields, but in every instance where I have a series of dropdowns, it skips the first one... so I have several text fields that it tabs through correctly, then it SKIPS the first dropdown control and tabs to the second dropdown, at which point it continues to tab correctly.
Turning modal mode off for the dialog fixes the issue... without fixing the underlying issue, obviously.
Good to hear - thanks!
The case has been reopened. I got an update from them this morning saying that they have reproduced the problem and are looking at it.
Hopefully they will have a fix soon!
I have the same problem as the original poster. Your 'test' provides no working solution... the indexes are set correctly, but the in browser behavior is still wrong.
The issue seems to be with Modal="True"... if I set that to True, I can't get the tabindexes to work in IE9 at all - I can click into the first control in the WebDialogWindow (in my case a textbox), hit tab, and it will go to the last one, and tab again, and it returns the first one and will not tab out of that control.
If I set Modal="False", then it tabs exactly as expected.
ModalTabIndices has no affect on the behavior of the tabbing in any instance.
This is a serious problem for us, and we need a real solution... It isn't clear by your example (which 'works' for me as well, showing the correctly set tab indices on my page) if you actually are saying there is a way to make this work correctly, or if you are just saying that it's not a bug.
If there is a way to make this work correctly, I need to know that... if there isn't, then there is most certainly a bug.