Datagrid Cell Focus

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?
 
J

Jacob Yang [MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top