Expose EditContext on RadzenTemplateForm #352

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

Originally created by @TheManDK on GitHub (Mar 29, 2022).

Is your feature request related to a problem? Please describe.
I cannot programatically trigger a validation on RadzenTemplateForm

Describe the solution you'd like
I would like to have the EditContext exposed

Describe alternatives you've considered
Somehow I would like to trigger a validation

Additional context
I would like to have two buttons for one form. One to save a draft and one to send the contents for approval. In both cases the validation should run, but the business logic behind is of course different.

Originally created by @TheManDK on GitHub (Mar 29, 2022). <!-- IMPORTANT: Read this first!!! 1. If you own a Radzen Professional or Еnterprise subscription you can request your feature via email at info@radzen.com. Radzen staff will reply within 24 hours (Professional) or 16 hours (Enterprise) 2. The Radzen staff guarantees a response to issues in this repo only to paid subscribers. 3. If you have a HOW TO question start a new forum thread in the Radzen Community forum: https://forum.radzen.com. Radzen staff will close issues that are HOWTO questions. 4. Please adhere to the issue template. --> **Is your feature request related to a problem? Please describe.** I cannot programatically trigger a validation on `RadzenTemplateForm` **Describe the solution you'd like** I would like to have the `EditContext` exposed **Describe alternatives you've considered** Somehow I would like to trigger a validation **Additional context** I would like to have two buttons for one form. One to save a draft and one to send the contents for approval. In both cases the validation should run, but the business logic behind is of course different.
Author
Owner

@akorchev commented on GitHub (Mar 29, 2022):

It is already public.

@akorchev commented on GitHub (Mar 29, 2022): [It is already public](https://github.com/radzenhq/radzen-blazor/blob/master/Radzen.Blazor/RadzenTemplateForm.cs#L231).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#352