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

Automatically Bind Checked Field on CheckBox

1 Answer 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 02 Aug 2011, 04:51 PM
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

1 Answer, 1 is accepted

Sort by
0
Gary
Top achievements
Rank 1
answered on 02 Aug 2011, 05:30 PM
This fixed it.
[DefaultBindingProperty("Checked")]
public partial class AmCheckBox : RadCheckBox, ICrudControl
{
    ...
    ...
}

 

gj

 

Tags
General Discussions
Asked by
Gary
Top achievements
Rank 1
Answers by
Gary
Top achievements
Rank 1
Share this question
or