radRadioButton - Binding IsChecked

4 posts, 1 answers
  1. Roy
    Roy avatar
    36 posts
    Member since:
    Jun 2008

    Posted 02 Sep 2008 Link to this post

    Hi,

    I have a custom class which is bindable. Lets assume I got the following two properties
    public bool X
    {
        get {...}
        set {...}
    }

    public bool Y
    {
        get {...}
        set {...}
    }

    The X and Y properties are mutually exclusive (i.e. X && Y is always false and X || Y is always true)

    I have a user control that contains two different groups. In each group I have a radio button (from the Rad UI Controls).
    The constructor of the user control binds the property "IsChecked" of the two radio buttons to the property X and to the property Y respectively. For some reason, whenever a radio button is pressed, the setter of the property is not called. This seems to me as a bug since when I put two radio buttons from the .NET library (the regular radio buttons) they work fine.

    I was trying to find a utility to fill a bug report but couldn't find it.

    Please let me know if this is a known issue.

    Thanks
  2. Answer
    Peter
    Admin
    Peter avatar
    1148 posts

    Posted 04 Sep 2008 Link to this post

    Hi Roy,

    Thank you for reporting this issue.

    I have reproduced the issue successfully. We will address it in one of our next versions.

    For the time being, I would suggest inserting the logic that changes the values of the properties in the RadRadioButton's ToggleStateChanged event handler.

    Your Telerik points have been updated.

     
    Greetings,
    Peter
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Deborah
    Deborah avatar
    154 posts
    Member since:
    Sep 2010

    Posted 02 Nov 2010 Link to this post

    Was this ever resolved?

    I am trying to use binding to the RadioButton and it seems that IsChecked is depricated. Since my business objects are used in many places, I need to keep my property as a boolean, not a ToogleState.

    What is the best way to bind to the RadRadioButtons?

    Thanks!
  5. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 10 Nov 2010 Link to this post

    Hello Deborah,

    Thank you for writing.

    We have removed the Obsolete attribute from the IsChecked property in Q3 2010 and now you can use it without any concerns.

    I hope this helps.

    Best wishes,

    Peter
    the Telerik team

     

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top