Adding messages to show in validationsummary

Hi,

I'm using the tag on a page, and it works fine for individual control validation, but I'm not sure if/how I can add my own additional error messages to the summary, for example if I'm checking that a new record isn't a duplicate?

Cheers
Reg

Hi @SolutionJ,

You should probably refer to the Blazor documentation for the built-in tags such as ValidationSummary.

Yes, I can see how to do it from scratch, but from your api guides on other validation components it seems you're already storing validation messages in a messagestore class, so I thought that class might be available to me to add to. Is that not the case?

You can check the source code of the Radzen ValidatorBase. It uses the builtin Blazor validation API and can only be used as a validation control e.g. RadzenRequiredValidator.