in my edit template form I have a textbox. I want to set this textbox to focus upon clicking on Edit on a row in the grid to bring up the edit template form.
Checkout the following documentation that shows how to focus textbox in edit form. I hope this would help in achieving the functionality. Focus the text boxes in the edit control
I followed the instructions in the link you gave me but it dowsnt seem do anything. when i click Edit to bring up the edit view the control is not focused..... I also tried to focus a dropdownlist control, still no luck
That worked for me. I used the ItemDataBound method (2nd one in documentation).
Be sure the type of your controls match.
Also when getting the control, sometimes it will be at posiition 1 not 0, depending if you are using a templatecolumn.