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

[Solved] Turning off Validation/Overriding Validations on RadGridView

1 Answer 295 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ifeanyi
Top achievements
Rank 1
Ifeanyi asked on 24 Sep 2010, 01:33 PM
Hi All,

I am having problem customizing the "required field" validation message on RadGridview. We want to be able to change this validation message based language selected from a combobox.
This is inline with implementation of multi-language requirement that require every literal on the application visible to the user to come from database.  This includes the validation messages etc etc

Is there any way I can disable this default validation or better override it with my own implementation.

We are using Entity Framework
Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 24 Sep 2010, 02:04 PM
Hi Ifeanyi,

You may handle the Validating event of the grid, cancel them if required and apply your custom validation logic. Furthermore, you can define the error message by setting the ErrorMessage property. For further reference, you may take a look at this help article.

All the best,
Maya
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
Ifeanyi
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or