New to Telerik UI for ASP.NET Core? Download free 30-day trial
ASP.NET Core Grid Remote Validation
- EXAMPLE
- VIEW SOURCE
-
Change Theme
defaultDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
Also available for:
CLIENT-SIDE API HTML HELPER APIDescription
The Telerik UI for ASP.NET Core Grid supports remote validation. The remote validation is a custom validation during which the Data Grid posts the values to the server through an AJAX request, and depending on the server response, the component displays a valid or invalid state.
The validation itself is performed on the server-side. When the Grid sends a request for editing or creating a record, a method declared in the [Remote]
attribute of the the respective field executes and returns information on whether the new data is valid or not.
This demo shows how to create a custom validation rule that handles the built-in Remote
attributes in your model.
For more information about the editing capabilities, refer to the official Telerik UI for ASP.NET Core Data Grid product documentation on the available data-editing approaches.