-
Tabindex
I have webform including 10 user controls.
Each controls includes 5 textboxes with values to be entered and 3 result textboxes.
How do I make a tabindex which goes to next user control when the first 5 textboxes has been tabbed? In other words I need to exclude tabbing on the last 3 result text boxes. Is it understandable what I mean?
-
Re: Tabindex
if the user does not need to type into the 3 reslut textboxes you could make them enabled setting to false??
i am unsure f this is what you are looking for
-
1 Attachment(s)
Re: Tabindex
You are right, but unfortunalely the font color of the disabled field is grey toned and that is not ok. The fields have to be enabled I'm affraid, see the screen shot below, the last 4 results are disabled
-
Re: Tabindex
But what if I use TabIndex=0 doesn't that mean that you jump over this?
-
Re: Tabindex
i tried it there now with a zero and it tabbed it at the end,
try and set them to -1 and let me know how you get on
-
Re: Tabindex
-
Re: Tabindex
Wouldn't setting the ReadOnly property to True work?
-
Re: Tabindex
I will try that, just a second...
-
Re: Tabindex
No it doesn't work, and neither did tabIndex=-1
-
Re: Tabindex
So you're trying to present these as fields but you don't want the user to change the text in them? That correct?
Also you want any form of tabbing navigation to bypass them?
-
Re: Tabindex
-
Re: Tabindex
Okay, set the first boxes with consecutive numbers (1,2,3) in the tabIndex property.
Next set the three greyed-out boxes to ReadOnly
Now set the tabIndex property of the greyed-out boxes to -1, all of them (so they have the same property)
This seems to work for me using 2005 :thumb:
-
Re: Tabindex
aye it seemed to work for me also in 2003,
try it again hpl .. lol