Hi,
When I try to add new record using telerik add new record command, the edit form cannot be closed.
If anyone have ever encountered this issue, please do share. Thanks.
Please find below the aspx and codebehind:
Regards,
canfield
When I try to add new record using telerik add new record command, the edit form cannot be closed.
If anyone have ever encountered this issue, please do share. Thanks.
Please find below the aspx and codebehind:
<telerik:RadGrid ID="RadGrid1" ShowStatusBar="true" Height="420px" EnableAJAX="true" |
runat="server" AutoGenerateColumns="False" AllowSorting="true" AllowMultiRowSelection="False" |
AllowPaging="true" GridLines="None" ShowFooter="true" |
AllowFilteringByColumn="false" EnableDrag="false" |
EnableHeaderContextMenu="false" TableLayout="auto" |
AllowAutomaticDeletes="True" AllowAutomaticInserts="True" |
AllowAutomaticUpdates="True" PageSize="10" |
OnNeedDataSource="RadGrid1_NeedDataSource" |
OnItemDataBound="RadGrid1_ItemDataBound" |
OnUpdateCommand="RadGrid1_UpdateCommand" |
OnInsertCommand="RadGrid1_InsertCommand" |
OnDeleteCommand="RadGrid1_DeleteCommand" |
onitemcommand="RadGrid1_ItemCommand" |
> |
protected void RadGrid1_InsertCommand(object source, GridCommandEventArgs e) |
{ |
// Perform insert |
RadGrid1.MasterTableView.ClearEditItems(); |
} |
Regards,
canfield