I have a grid view where in one column I need to have two radio buttons defined (yes and no), but If I try that I get an error about "The property "Visual Tree" can only be set once.". What I'm wanting is for user to be able to change a selection for that row if he makes a mistake. I'm rather new at all of this so I might be going about this the wrong way, just using examples I've found and trying to piece together something to work.
Thanks,
-- Jim
<telerik:GridViewDataColumn Header="Products Coverage" DataMemberBinding="{Binding UnderwritingFactor}">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate> <RadioButton GroupName="ProductsCoverage" Content="Yes" IsChecked="{Binding PropertyLiability.HasProductsCoverage, Mode=TwoWay}" IsEnabled="{Binding PropertyLiability.HasFarmLiability, Mode=OneWay}"/> <RadioButton GroupName="ProductsCoverage" Margin="5, 0, 0, 0" Content="No" IsChecked="{Binding PropertyLiability.HasEProductsCoverage, Converter={StaticResource BoolInverseConverter}, Mode=TwoWay}" IsEnabled="{Binding PropertyLiability.HasFarmLiability, Mode=OneWay}"/>
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>