This question is locked. New answers and comments are not allowed.
Hi
I want to have a checkbox listbox in my vistor dataForm. This checkbox lists the characteristics of a visitor. The checkbox list is a collection of values.
How can I:
- add such a control to the DataForm
For a drop down, this works.
- Where and how can I read those checked values out?
Hope you can help!
I want to have a checkbox listbox in my vistor dataForm. This checkbox lists the characteristics of a visitor. The checkbox list is a collection of values.
How can I:
- add such a control to the DataForm
For a drop down, this works.
if
(e.PropertyName == CountryID"
{
e.DataField =
new
DataFormComboBoxField()
{
ItemsSource =
this
.GetCountries(),
SelectedValuePath =
"ID"
,
DisplayMemberPath =
"Name"
,
DataMemberBinding =
new
Binding(
"CountryID"
) { Mode = BindingMode.TwoWay }
};
}
- Where and how can I read those checked values out?
Hope you can help!