Automatically Bind Checked Field on CheckBox

2 posts, 0 answers
  1. Gary
    Gary avatar
    3 posts
    Member since:
    Jun 2011

    Posted 02 Aug 2011 Link to this post

    In Visual Studio we have added Business Objects as data sources. When we set the default UI to be the RadCheckBox to the bool properties on the business object it automatically binds to the text field.

    How can I make it automatically bind to the checked field?

    thanks,

    gj
  2. Gary
    Gary avatar
    3 posts
    Member since:
    Jun 2011

    Posted 02 Aug 2011 Link to this post

    This fixed it.
    [DefaultBindingProperty("Checked")]
    public partial class AmCheckBox : RadCheckBox, ICrudControl
    {
        ...
        ...
    }

     

    gj

     

  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top