EditIndex property of the gridview does not work

fmichail
fmichail used Ask the Experts™
on
I issue a command mygrid.editindex=e.neweditindex, and inspite of the value is set properly, the row does not enter the edit mode till I click again on the Edit button. Help please
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
you have to bind the gridview after assigning the editindex i.e.

 GridView1.EditIndex = e.NewEditIndex;
 BindGridView1(); //your binding function

Author

Commented:
Thank you Robasta

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial