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

http://demos.telerik.com/silverlight/#GridView/RowValidation ESC key DEMO ERROR

4 Answers 46 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Giuseppe Reale
Top achievements
Rank 1
Giuseppe Reale asked on 14 Oct 2011, 02:35 PM
Hi my friends,

i have an issue about row validating, that perfectly match the demo

http://demos.telerik.com/silverlight/#GridView/RowValidation

if u fire an error ona a row, then press ESC key, the row data  bring back to previous state, but validation message (below) still show the errors...

I'm sure about this, cause ESC event is not managed as well, and no validating events are fired up.

Is there a way to fire Row validation event on ESC key press?

Thanks in advance.

4 Answers, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 19 Oct 2011, 02:46 PM
Hello Giuseppe Reale,

Generally the behavior of the example is expected. ValidationSummary control is a separate control, which is used only to display validation errors, but you have to clear them manually. You can do this inside radGridView.RowEditEnded event when e.EditAction == GridViewEditAction.Cancel.
Could you please provide me with a little bit more information about your scenario? I'll be glad to help.

Regards,
Nedyalko Nikolov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
veena
Top achievements
Rank 1
answered on 07 Jun 2012, 06:51 PM
Do we have a solution to the above problem?
0
veena
Top achievements
Rank 1
answered on 07 Jun 2012, 06:54 PM
Sorry. Continuation to the previous post. I have the same problem and also hitting the Esc key doesnt fire
radGridView.RowEditEnded . Can you please give an example how to do it. I am new to Silverlight
0
Nedyalko Nikolov
Telerik team
answered on 08 Jun 2012, 10:34 AM
Hello,

You have to hit "Esc" key twice, first hit cancels just cell edit while second hit cancels row edit.

Regards,
Nedyalko Nikolov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Giuseppe Reale
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
veena
Top achievements
Rank 1
Share this question
or