I am using Radgrid to edit data. The Editmode is set to 'Inplace' and wants to allow multirow selection. I have several questions:
1) debuger never goes to ItemUpdated handler, it goes to ItemCreated and ItemCommand but never goes to Itemupdated, ItemCreated etc handlers.
2) In my Itemcommand event I have written following code:
Dim testId As Int16
testId =
CInt(e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("id"))
Select Case e.CommandName.ToLower()
Case "edit"
RGChoiceItems.EditIndexes.Add(e.Item.ItemIndex)
Case "cancel"
RGChoiceItems.EditIndexes.Clear()
Case "update"
If UpdateTest(False, e) Then
msg.ShowOK("Updated")
End If
End Select
LoadChoiceGroupTypeItems()
But it never clears the Edit mode even if the data gets updated. UpdateTest() methods works well. I want to do axactly as your first example grid but it is never gets rid of edit mode..I have to refresh the page again!
3) whereas, Cancel button moves the grid in normal mode again but problem with cancel is when I cancel 1 row it cancels all other rows in edit mode.
any idea what I am missing?