views:

42

answers:

1

I'm using the Telerik rad grid and I'm allow the user to enter data directly to the grid.

I am using the "EditForms" edit mode and I also allow inserts using the same.

If the user edits a row, then I don't want to allow any other edits or inserts until the current one is complete or cancelled.

I'm totally new to Radgrids and I've recently been working in MVC... so any help would be great!

A: 

I would choose this way:

  • Listen for the Edit/Insert command inside the ItemCommand grid server handler and check whether the EditIndexes or EditItems collection of the grid is not empty. If so, cancel subsequent edit/insert by setting e.Canceled = true.

Check out this topic for some heads-up.

Dick

Dick Lampard