Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tab order question

Status
Not open for further replies.

MikeDamone

Programmer
Oct 21, 2003
106
US
I have a web form that has numerous user controls on it. The tab order seems to be all over the place. Does anyone know how to control the tab order with respect to the multiple user controls? Thanks
 
Hi,

select a control when in design mode
right-click to view it's properties
there's a property called tab index that sets the tab order for the control.

Hope this helps
 
Thanks, but my problem isn't just with objects such as textboxes etc... Its with textboxes that are on user controls and those user controls are on a web form. There are multiple user controls on the web form, and multiple textboxes etc... on each user control. Only one user control is active at any given time and the others are hidden. I need the tab index to start on the objects that are on the form itself and then proceed in order to whatever user control is active. Any ideas? Thanks
 
Have you tried setting the tab-order in the code-behind file in response to whatever controls are visible?

It's not something I've ever tried before but should be possible.

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top