I have a control where the user must pick one of two values. The user should not be able to submit the form unless one of the values is picked. The selectable values are always different but one can be null.
I'm using a RadzenSelectBar to display the two values and reading the Value of the RadzenSelectBar to determine which one has been selected.
The trouble is that I can't figure out how to verify that one of the two options on the SelectBar has been selected. I can use .HasValue, which is null if nothing is selected, but it is also null if the user has selected a null value.
How can I determine whether one of the options in the SelectBar is selected?