Custom Validation Inside DataGrid Inplace Edit #761

Closed
opened 2026-01-29 17:42:59 +00:00 by claunia · 1 comment
Owner

Originally created by @MG1376 on GitHub (Mar 6, 2023).

In EditForm we have EditContext that is possible to have custom validation by deriving from ComponentBase, But in the DataGrid we don't have a wrapping Form so we should use Validation Controls. So my question is, Is there any way to do custom validation inside DataGrid Inplace edit controls?

Originally created by @MG1376 on GitHub (Mar 6, 2023). In EditForm we have EditContext that is possible to have custom validation by deriving from ComponentBase, But in the DataGrid we don't have a wrapping Form so we should use Validation Controls. So my question is, Is there any way to do custom validation inside DataGrid Inplace edit controls?
Author
Owner

@akorchev commented on GitHub (Apr 19, 2023):

RadzenDataGrid injects an EditContext too. Perhaps you can use it with CascadingParameter.

@akorchev commented on GitHub (Apr 19, 2023): RadzenDataGrid injects an EditContext too. Perhaps you can use it with CascadingParameter.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#761