Datagrid Cell Focus

  • Thread starter Thread starter Rick
  • Start date Start date
R

Rick

How can I give focus to the first, editable cell (textbox)
in a datagrid after the user has opened the row for edit?
 
Hi Rick,

Firstly I want to thank Giorgio's great help on this issue. Please check
his response carefully.

In addition, while using the method mentioned in the url, please use the
findcontrol method on the datagrid inside the EditCommand handler to get a
reference to the first textbox inside the datagriditem where the edit event
was fired.

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top