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

how to validate the input by another list

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
YN
Top achievements
Rank 1
YN asked on 20 May 2019, 09:50 PM

Hello,

I'm new to UI for Asp.net core. I met a problem here.

 

I have a table "authors" , contains all the author id [A,B,D,G,F]

and I have another table "books", it will be a Grid, showing book name, author name, when inline editing, user can update the author name for the book. when user input 'C', then notify him put a wrong author name. because our list is [A,B,D,G,F] has no C.

 

how to do this?   or how to put a check box list when inline editing a row in Grid?

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 23 May 2019, 12:46 PM
Hi Sarah,

A possible solution would be to create a custom validation rule as shown in the following demo:


Regarding the custom editors, the following article contains a detailed information how to create a custom editor for a column:


I hope this helps.


Regards,
Georgi
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
YN
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or