This question is locked. New answers and comments are not allowed.
We are moving all our projects to Telerik Silverlight controls and, in old code, one of our features was the ability to choose multiple items from a combobox using a checkbox .
I've already found the equivalent code here but i cant figure out how to apply it to auto generated forms. For example, when i have a field like ta_country_id i replace current datafield with a code like this:
Now i need something similar but where i am able to select multiple items via checkbox for fields that allow multiple values (example: ta_options_ids). This field keeps a value in format id1, id2, id3, ..., idn
Thank you in advance
I've already found the equivalent code here but i cant figure out how to apply it to auto generated forms. For example, when i have a field like ta_country_id i replace current datafield with a code like this:
if (campo.StartsWith("ta_") && campo.EndsWith("_id"))
{
DataFormComboBoxField dataField = new DataFormComboBoxField();
dataField.Label = campo;
dataField.DisplayMemberPath = "FieldName";
dataField.SelectedValuePath = "FieldID";
dataField.DataMemberBinding = new Binding(campo);
e.DataField = dataField;
getComboboxData(campo, dataField);
}
Now i need something similar but where i am able to select multiple items via checkbox for fields that allow multiple values (example: ta_options_ids). This field keeps a value in format id1, id2, id3, ..., idn
Thank you in advance