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

How to Add validation for duplicate values for column in a Grid

1 Answer 1121 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pal
Top achievements
Rank 1
Pal asked on 12 Jun 2020, 12:20 PM
How to Add validation for duplicate values for column in a Grid

1 Answer, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 16 Jun 2020, 06:56 AM

Hi Pallavi,

The validation for duplicate records can be implemented with a custom rule for the validator of the grid. Here is an example of how to introduce a new rule:

https://demos.telerik.com/aspnet-mvc/grid/editing-custom-validation

And, in the following thread, an implementation for the duplicate items has been provided:

https://demos.telerik.com/aspnet-mvc/grid/editing-custom-validation

 

Regards,
Tsvetomir
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Grid
Asked by
Pal
Top achievements
Rank 1
Answers by
Tsvetomir
Telerik team
Share this question
or