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

Gridview Cell validation

1 Answer 94 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 1
Alan asked on 08 Sep 2010, 10:17 PM
I have enabled cell validation in my gridview and I am using CellValidating events. I also have 2 buttons on my window. If I am inside a cell and click on my buttons it fires the cellvalidating events. Is there a way to not to fire the cellvalidating event when selecting a cancel button.

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 09 Sep 2010, 09:32 AM
Hello Alan,

We have a property called ActionOnLostFocus which dictates what action is performed when a cell looses focus. By default, the pending edit operation will be committed but you can disable this behavior by setting ActionOnLostFocus to None.


Greetings,
Milan
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
Alan
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or