Yes/No RadioButtons binding to a single field

2 posts, 0 answers
  1. Robert
    Robert avatar
    2 posts
    Member since:
    Oct 2010

    Posted 23 Nov 2011 Link to this post

    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

  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 24 Nov 2011 Link to this post

    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 >>

Back to Top