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

Problem with committing row

1 Answer 51 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
T. Tanaka
Top achievements
Rank 1
T. Tanaka asked on 31 Oct 2012, 12:26 AM
Hi,

I have created a customizing GridViewDataColumn that a button and a TextBox are displayed when a cell in the column is in edit mode.
When the button is clicked, a ChildWindow will be opened.
The problem is that the cell will be committed automatically when the ChildWindow is opened.
I want the cell to keep on being edit mode(don't commit automatically when ChildWindow was opened).
Is there any way to resolve this problem?

Best Regards,
Liu
 

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 02 Nov 2012, 03:32 PM
Hi Liu,

By default the GridView will commit the edited cell when it loses the focus. You should set its ActionOnLostFocus property to be "None" in order to prevent from Commit when the ChildWindow is shown. 


Regards,
Yoan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
T. Tanaka
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or