This is a migrated thread and some comments may be shown as answers.

Can't close the edit popup

1 Answer 105 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Amanda
Top achievements
Rank 1
Amanda asked on 02 Jun 2008, 06:21 PM
Hello,

I am using a RadGrid with EditMode="Popup", but I am not using any automatic data operations - due to some very complex data structures and business logic, I've written my own code to handle saving my edits in the ItemCommand event.  Then I manually fire the ItemUpdated event.  But I can't get the edit popup to close!  I can't find a method anywhere that I can call to take the grid out of edit mode.  Can anyone tell me what I should be calling?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 03 Jun 2008, 06:17 AM
Hi Amanda,

Try the following line of code to close the EditForm in Grid.

CS:
  RadGrid1.MasterTableView.ClearEditItems(); 


Thanks
Princy.
Tags
Grid
Asked by
Amanda
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or