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

ItemUpdated never fires - how do i force a templated edit form out of edit mode

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 07 Nov 2008, 06:10 PM
<STRONG>Hi..<BR>i have a templated edit form.&nbsp; The ItemUpdate NEVER fires.   
The grid is bound to an objectdatasource.&nbsp; How do I force the form out of   
edit mode ?<BR>When a user call the INSERT command. <BR>Help<BR>Thanks</STRONG> 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 10 Nov 2008, 05:51 AM
Hi Jon,

The ItemUpdated/ItemInserted/ItemDeleted events will be raised only when automatic updates are enabled for the grid and you use data source control for data generator.
You can try the following line of code to cancel the edit form.

CS:
 RadGrid1.MasterTableView.ClearEditItems(); 


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