Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my gridview event not firing
i am doing like this

<asp:GridView CssClass="clsborder" runat="server" ID="grdDematChk"
AutoGenerateColumns="False" DataKeyNames="isincd" Width="100%"
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
Posted
Comments
S Saxena 1-Aug-11 2:13am    
What error u got????

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900