Is there any way to lock the another records in edit? becouse the edited data are loss.
Also, the pager, the sort option, the insert button - Need to be disabled !
Why is there no somthing that do that automatically ?
I guess you want to cancel the other operations in grid when it is in editmode. If so a better option would be showing confirm when trying to invoke any other operations, as shown below.
Attach OnCommand client event to RadGRid.
Client code:
<script type="text/javascript">
functionOnCommand(sender, args) {
varcommandName = args.get_commandName();
if(sender._editIndexes.length > 0) {
if(commandName != "Update") {
if(commandName != "CancelUpdate") {
args.set_cancel(!confirm("You have not saved the data, do you want to continue...?"));