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

[Solved] Close Edit View on Update/Insert

1 Answer 133 Views
Grid
This is a migrated thread and some comments may be shown as answers.
newbie
Top achievements
Rank 1
newbie asked on 02 Apr 2008, 06:38 PM
I am using automatic update/insert/delete with stored procedure.

When i do an insert or update the grid dtsya in edit mode.
I want the edit mode to close when the user updates the record.

My calls to the stored procedure happen in code behind.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 15 May 2008, 07:23 AM
Hi Newbie,

Try the following line of code to close the EditForm after performing the Update operation.

 RadGrid1.MasterTableView.ClearEditItems(); 


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