This is a migrated thread and some comments may be shown as answers.

Yes/No RadioButtons binding to a single field

1 Answer 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 23 Nov 2011, 05:09 PM
This seems like it would be simple, but my search on the web so far has been in vain

On my Silverlight form (using MVVM), I need the user to be able to select between 'Yes' or 'No' radioButtons and bind the selection to a single property in my ViewModel.

Thanks for any help
Robert

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 24 Nov 2011, 09:49 AM
Hello Robert,

If the DataContext of the user page is your view model, you should have no problems binding directly to the property from it. However, in order to suggest any further, I would need a bit more details. Do you place those radio buttons in any RadControl ? What are your exact settings ?
 

Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
Robert
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or