Radgrid update command is not getting triggered. During Update ItemCommand Event is also not getting triggered.
Below is the code,
<telerik:RadGrid ID="rgdUsers" runat="server" AllowPaging="True" ShowFooter="false"
AllowSorting="True" AutoGenerateColumns="False" ShowStatusBar="false"
OnNeedDataSource="rgdUsers_NeedDataSource" AllowFilteringByColumn="true" EnableLinqExpressions="false" Width="100%"
OnItemCommand="rgdUsers_ItemCommand" OnUpdateCommand="rgdUsers_UpdateCommand">
<PagerStyle Mode="NextPrevNumericAndAdvanced" />
<GroupingSettings CaseSensitive="false" />
<MasterTableView CommandItemDisplay="Top" DataKeyNames="UserId">
<Columns>
<Columns>
<EditFormSettings EditFormType="Template">
<FormTemplate>
<table width="200px" cellpadding="0" cellspacing="0">
<tr>
<td>Name
</td>
<td>
<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" colspan="2">
<asp:Button ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' CausesValidation="false"></asp:Button>
<asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False"
CommandName="Cancel"></asp:Button>
</td>
</tr>
</table>
</FormTemplate>
</EditFormSettings>
</MasterTableView>
<%--<ClientSettings>
<ClientEvents OnRowDblClick="RowDblClick" OnPopUpShowing="onPopUpShowing" />
</ClientSettings>--%>
</telerik:RadGrid>
protected void rgdUsers_UpdateCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
{
}
protected void rgdUsers_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
{
}
Can someone help me to know where did I go wrong