Results 1 to 3 of 3

Thread: Set focus to textbox in gridview

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    Ottawa
    Posts
    38

    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 ?

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Set focus to textbox in gridview

    Is this a custom edit box?

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    Ottawa
    Posts
    38

    Re: Set focus to textbox in gridview

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width