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

Disable Validation dynamically

0 Answers 29 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 06 Aug 2013, 01:22 PM
Hi,

We are using Telerik Controls for Silverlight (Version: 2013.2.625.1050).
We have Status combo box in the grid view.
Based on the status (Update/Delete) we want to set the validation. In the case of delete we dont need to validate the grid view row in which case the validation should be disabled.
We are using "DataAnnotations" to set the validations. I tried with "CustomValidationAttribute", but it is validating one time when we change the status to "Delete" (by default the grid view row is loaded with Update status).But in my case we dont want to validate once the status is changed.

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