Select theme:
Radzen Blazor Studio has replaced Radzen as the primary RAD tool for Blazor applications.
Radzen Blazor Studio offers a modern UI, enhanced features, and improved performance to streamline your development process.
The latest documentation for Radzen Blazor Studio is available here: https://www.radzen.com/blazor-studio/documentation/
Open Radzen Blazor Studio docsEnd of Year Promotion: Save $100 with code CHEERS2026 — valid until January 10, 2026. See Pricing
This guide demonstrates how to use the CompareValidator component.
The CompareValidator will show its Text property unless the value of its Component is equal to a specified value or the value of another component.
| Name | Type | Default | Description |
|---|---|---|---|
| Name | string | 'compareValidator' + index suffix | Unique name of CompareValidator. |
| Text | string | 'Value should match' | The text that the validator will display. |
| Component | string | null | The Name of a input component. |
| ComponentToCompare | string | null | The Name of a input component to compare with. |
| Visible | boolean/expression | true | Is the CompareValidator visible. |
The CompareValidator is used to verify that value of an input component (e.g. TextBox, DropDown) matches some other value - either a predefined one or the value of another component.
Radzen is free to use. You can also test the premium features for 15 days.
Start FreeSelect theme: