i am doing like this
BackColor="#7fb16c" BorderColor="#cccccc" BorderStyle="None" BorderWidth="1px"
CellPadding="0" CellSpacing="0" Height="1px" AllowPaging="true"
AllowSorting="true" PageSize="10"
OnRowEditing="grdDematChk_RowEditing"
OnRowCancelingEdit="grdDematChk_RowCancelingEdit"
OnRowUpdating="grdDematChk_RowUpdating" OnRowDeleting="grdDematChk_RowDeleting"
AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" >
and in code behind
Protected Sub grdDematChk_RowEditing(ByVal sender As Object, ByVal e As GridViewEditEventArgs)
grdDematChk.EditIndex = e.NewEditIndex
GetAddModeDataView()
End Sub


Suthish NairRank #92 · 22.8K reputationPosted Jul 29, 2011, 11:01 PM EDT
Are you using Ajax, if yes then set the Triggers for controls for executing the events.
Mayur GujrathiRank #666 · 3.6K reputationPosted Jul 29, 2011, 11:14 PM EDT
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jul 29, 2011, 11:31 PM EDT
you mentioned that when you trace the page using breaking point it hitting the event..and the same time you are telling gridview edit event not firing....
When you trace the page using breakpoints if it hits the the events means that event fired....Might be the problem is with the functionality which is exists in that Event...
Mayur GujrathiRank #666 · 3.6K reputationPosted Jul 29, 2011, 11:43 PM EDT
Vijay YadavRank #1,637 · 943 reputationPosted Jul 30, 2011, 2:42 AM EDT
If you are loading the gridivew on page load event then check the postback property.