I am unable to disable insert mode when the user clicks on edit button, first the user clicks on insert then I am using editforms to insert, the user expands the detail grid and clicks on edit button (in detail grid) without completing the insert operation. In this scenario in order to disable insert I am using the following code in grid item command event to disable insert before enabling the edit but this isn't working.
it is not throwing any error, it is setting the IsItemInserted property but not disabling the insert mode
any suggestions !!!!!
--
Kevin
| If e.Item.OwnerTableView.Name = "DetailTB" Then |
| If e.CommandName = RadGrid.EditCommandName Then |
| RadGrid1.MasterTableView.IsItemInserted = False |
| End If |
| End If |
it is not throwing any error, it is setting the IsItemInserted property but not disabling the insert mode
any suggestions !!!!!
--
Kevin