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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting focus to a control

Status
Not open for further replies.

dragonwell

Programmer
Oct 21, 2002
863
US
How can I set the focus on a control after a postback event?
 
I have a related question. I'd like to set focus on the first text box when the page is opened. I set it to be the first tab stop, but it doesn't work.

Thanks,
Kimberly
 
You have to use cliwnt side script, (Javascript, VBScript), for both actions. I have some working examples somewhere or you could try


for plenty of script event actions.

There are other threads in this forum with how to assign the client side onClick event.

Rhys
 
Hey guys,

Check out this thread from a while back:

thread855-400181

but be warned: Zarcom has some funky ideas about how to properly spell "anywhoo"

;)

D'Arcy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top