Hi I am using GridView in ASPX page
All Gridview command is getting fired,but update button is not getting fired.
Please help me to resolve this issue.
Thanks,
Shekhar
Code:
<asp:GridView AutoGenerateEditButton ="false" id="siGridView" runat="server"
Font-Names="Cordia New" Font-Size="Smaller"
AllowSorting="True" AllowPaging ="true" PageSize="20"
HorizontalAlign="left"
onsorting="switchGridView_Sorting"
Font-Bold="False"
onrowcancelingedit="switchGridView_RowCancelingEdit"
onrowediting="switchGridView_RowEditing"
onrowupdating="switchGridView_RowUpdating" Width="1170px">
<RowStyle HorizontalAlign="left" BackColor="#E6E6FA" Font-Size="Medium"/>
<SelectedRowStyle Font-Size="Medium" />
<HeaderStyle HorizontalAlign="Center" BackColor="#CCCCFF" ForeColor="#003366" />
<columns>
<asp:commandfield
showeditbutton="true"
ControlStyle-Height="25px"
ControlStyle-Width="75px"
ControlStyle-Font-Names="Cordia New"
ControlStyle-Font-Size="12pt"
ControlStyle-Font-Bold="true"
ButtonType="Button"
headertext="Edit">
<ControlStyle
Font-Bold="True"
Font-Names="Cordia New"
Font-Size="10pt"
Height="20px"
Width="40px" ForeColor="Black">
</ControlStyle>
</asp:commandfield>
</columns>
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
Please help me to resolve this issue.
Thanks,
Shekhar
Comment