Thursday, March 22, 2012

Set focus to textbox in gridview

Is there an easy way with a gridview so that when the user clicks on edit, the system can automatically set the focus to a particular textbox ?Is this a custom edit box?
It's a template field. I think I have most of the code figured out (I'll post it when I'm back at my desk), but can't get it to fire the first time a user clicks 'Edit' (but it does fire every time after). Also, how do you set it so the entire value in the field is selected ? Thanks.

0 comments:

Post a Comment