I m getting insert event for 2 times After click GridEditCommandColumn in rad grid .Here is my grid.
<telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server"
AllowAutomaticDeletes="True"
AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowPaging="True"
AutoGenerateColumns="False" CellSpacing="0"
DataSourceID="Item"
ondeletecommand="RadGrid_DeleteCommand" >
<ClientSettings>
<Selecting AllowRowSelect="True" />
</ClientSettings>
<MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="ID"
HorizontalAlign="NotSet" AutoGenerateColumns="False"
EditMode=InPlace DataSourceID="Item" >
<CommandItemSettings ExportToPdfText="Export to PDF" />
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"
Visible="True">
</RowIndicatorColumn>
<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"
Visible="True">
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="JobID" ColumnEditorID="GridTextBoxColumnEditor1"
FilterControlAltText="Filter JobID column" HeaderText="JobID"
SortExpression="JobID" UniqueName="JobID">
<ItemStyle Width="10%" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Description" ColumnEditorID ="GridTextBoxColumnEditor2"
FilterControlAltText="Filter Description column" HeaderText="Description"
SortExpression="Description" UniqueName="Description">
<ItemStyle Width="70%" />
</telerik:GridBoundColumn>
<telerik:GridDropDownColumn DataField="UOM" DataSourceID="UOM" HeaderText="UOM"
ListTextField="Display" ListValueField="ID" UniqueName="UOM" ColumnEditorID="GridDropDownColumnEditor1">
<ItemStyle Width="10%" />
</telerik:GridDropDownColumn>
<telerik:GridNumericColumn DataField="Quantity" DataType="System.Int32"
FilterControlAltText="Filter Quantity column" HeaderText="Quantity"
SortExpression="Quantity" UniqueName="Quantity"
ColumnEditorID="GridNumericColumnEditor1" DefaultInsertValue="0"
EmptyDataText="0">
<ItemStyle Width="5%" HorizontalAlign="Right" />
</telerik:GridNumericColumn>
<telerik:GridEditCommandColumn ButtonType="ImageButton"
UniqueName="EditCommandColumn">
<ItemStyle Width="5%" />
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete"
ConfirmDialogType="RadWindow" ConfirmText="Delete this record?"
ConfirmTitle="Delete" Text="Delete" UniqueName="DeleteColumn">
<ItemStyle CssClass="MyImageButton" HorizontalAlign="left"/>
</telerik:GridButtonColumn>
</Columns>
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn1 column"
UniqueName="EditCommandColumn1" >
</EditColumn>
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableImageSprites="False">
</FilterMenu>
</telerik:RadGrid>
.
<telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server"
AllowAutomaticDeletes="True"
AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowPaging="True"
AutoGenerateColumns="False" CellSpacing="0"
DataSourceID="Item"
ondeletecommand="RadGrid_DeleteCommand" >
<ClientSettings>
<Selecting AllowRowSelect="True" />
</ClientSettings>
<MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="ID"
HorizontalAlign="NotSet" AutoGenerateColumns="False"
EditMode=InPlace DataSourceID="Item" >
<CommandItemSettings ExportToPdfText="Export to PDF" />
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"
Visible="True">
</RowIndicatorColumn>
<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"
Visible="True">
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="JobID" ColumnEditorID="GridTextBoxColumnEditor1"
FilterControlAltText="Filter JobID column" HeaderText="JobID"
SortExpression="JobID" UniqueName="JobID">
<ItemStyle Width="10%" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Description" ColumnEditorID ="GridTextBoxColumnEditor2"
FilterControlAltText="Filter Description column" HeaderText="Description"
SortExpression="Description" UniqueName="Description">
<ItemStyle Width="70%" />
</telerik:GridBoundColumn>
<telerik:GridDropDownColumn DataField="UOM" DataSourceID="UOM" HeaderText="UOM"
ListTextField="Display" ListValueField="ID" UniqueName="UOM" ColumnEditorID="GridDropDownColumnEditor1">
<ItemStyle Width="10%" />
</telerik:GridDropDownColumn>
<telerik:GridNumericColumn DataField="Quantity" DataType="System.Int32"
FilterControlAltText="Filter Quantity column" HeaderText="Quantity"
SortExpression="Quantity" UniqueName="Quantity"
ColumnEditorID="GridNumericColumnEditor1" DefaultInsertValue="0"
EmptyDataText="0">
<ItemStyle Width="5%" HorizontalAlign="Right" />
</telerik:GridNumericColumn>
<telerik:GridEditCommandColumn ButtonType="ImageButton"
UniqueName="EditCommandColumn">
<ItemStyle Width="5%" />
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete"
ConfirmDialogType="RadWindow" ConfirmText="Delete this record?"
ConfirmTitle="Delete" Text="Delete" UniqueName="DeleteColumn">
<ItemStyle CssClass="MyImageButton" HorizontalAlign="left"/>
</telerik:GridButtonColumn>
</Columns>
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn1 column"
UniqueName="EditCommandColumn1" >
</EditColumn>
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableImageSprites="False">
</FilterMenu>
</telerik:RadGrid>
.