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

how to prevent auto hide popup edit form of grid after edit?

1 Answer 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
amir sherafatian
Top achievements
Rank 1
amir sherafatian asked on 09 Sep 2009, 12:04 PM
hi
i have a user control is used in popup edit form in grid view to edit each row of grid ,
how can i disable this auto hide popup edit form after the edit row????

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 09 Sep 2009, 12:24 PM
Hello Amir,

You can use either of the following code to keep the EditFormFrom closing in the update command, after successfully updating the record:
c#:
e.Item.Edit = true;
or
e.Canceled = true;

Hope this helps..
Princy.
Tags
Grid
Asked by
amir sherafatian
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or