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

Problem Removing validation for Cancel Button

0 Answers 56 Views
GridView
This is a migrated thread and some comments may be shown as answers.
SivaPrasad Bevara
Top achievements
Rank 1
SivaPrasad Bevara asked on 20 Nov 2012, 12:01 PM
Hi,

We are using Telerik Controls for Silverlight (Version: 2012.1.215.1050), RIA services and MVVM.
I have a popup that contains a Grid and 2 rad buttons "Submit and Cancel".
I wanted to close the popup in the "Cancel" click, even the grid has validation errors. But its not happening.
If the Grid doesn't have any errors then it is closing the pop up properly, but if it has errors then its displaying the errors instead of closing.

I tried using the "RadGridViewCommands.CancelRowEdit", but its not working.
Even I tried for "CausesValidation = false" in teh cancel button, I think this property is obsoleted.

How can I handle this case.
Please help!

Regards,
SivaPrasad.B



No answers yet. Maybe you can help?

Tags
GridView
Asked by
SivaPrasad Bevara
Top achievements
Rank 1
Share this question
or