Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.Net Gridview Fire Command From Outside the Gridview

Status
Not open for further replies.

Marcia2004

Programmer
Jun 7, 2012
2
0
0
US
Has anyone used a button from outside a gridview to trigger the Edit command inside the gridview? Since gridviews do not have an Add command, I'm using the click event of a button located outside the gridview. When clicked, it adds a new row to the gridview which appears with only the Edit command and no textboxes showing. When user clicks the Edit command on the new row, textboxes appear for entry and the Edit command changes to Update Cancel. I'd like to make it simpler for the user and do the Edit command click for them so they are ready to do data entry. Any suggestions would be appreciated!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top