Hi there.
I have the following radio buttons and they work fine :
<div class="radio-control">
<SfRadioButton Label="Positive" Value="1" Name="Coombs" @bind-Checked="birth.Coombs"></SfRadioButton>
<SfRadioButton Label="Negative" Value="2" Name="Coombs" @bind-Checked="birth.Coombs"></SfRadioButton>
</div>
Whenever I try to declare
LabelPosition="RadioLabelPosition.Before" in any of them (or both) , I get the following Compiler Error :
Severity Code Description Project File Line Suppression State
Error CS1662 Cannot convert lambda expression to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type BabiesStatistics
e.g
<SfRadioButton Label="
Positive" Value="1" Name="Coombs" LabelPosition="RadioLabelPosition.Before" @bind-Checked="birth.Coombs"></SfRadioButton>
if I take out the bind :
<SfRadioButton Label="Θετική" Value="1" Name="Coombs" LabelPosition="RadioLabelPosition.Before"></SfRadioButton>
I get the compiler error :
Severity Code Description Project File Line Suppression State
Error CS0234 The type or namespace name 'LabelPosition' does not exist in the namespace '__Blazor.Syncfusion.Blazor.Buttons' (are you missing an assembly reference?) BabiesStatistics