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

On cancel insert validation problem

1 Answer 35 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Edo Cof
Top achievements
Rank 1
Edo Cof asked on 20 Mar 2010, 01:30 PM
Well i call grid.BeginInsert(), but then i want to cancel it. I want to click button, but the grid doesn't allow me to change focus to any other control. For example i also have textbox control, but i can not set focus to that textbox.

Watch attachemnt.

1 Answer, 1 is accepted

Sort by
0
Accepted
Nedyalko Nikolov
Telerik team
answered on 23 Mar 2010, 06:57 PM
Hello Matjaz Cof,

Generally when you click outside RadGridView and there is a pending edit RadGridView takes an action according to the RadGridView.ActionOnLostFocus property value. You can choose between three values of this property - "CommitEdit" (default), "CancelEdit" and "None". However you can press "Esc" key twice to cancel edit (first "Esc" cancels edit for the current cell and second for the row).
Let me know if this doesn't help.

Best wishes,
Nedyalko Nikolov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Edo Cof
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Share this question
or