Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 29, 2012 01:02 AM by Decker Dong - MSFT
Jan 27, 2012 09:10 AM|LINK
protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
GridView1.EditIndex = e.NewEditIndex;
protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
GridView1.EditIndex = -1;
Jan 27, 2012 10:26 AM|LINK
Open your aspx in design mode, right click the gridview control and select properties, in the properties tab select the lightening icon(Symbol to represent Events), it will list all the supported Events for this control... double click the empty area adjacent to an
event and the methods will be added to your code behind... this will help you to get familiar with the events of all the controls..
Jan 27, 2012 05:10 PM|LINK
Jan 27, 2012 05:39 PM|LINK
This can help you get started then http://www.codeproject.com/Articles/36528/GridView-all-in-one
Jan 29, 2012 01:02 AM|LINK
How could i get the code for the events similarly for Row_updating, Row_deleting, Sorting and pa...
Your 1st reply seems quite right……I cannot understand what you really want and what you mean by saying "similar events"？If you want to know more about GridView's events，please see MSDN+samples at：http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview_events.aspx