Hi
I have a multiselect that should bind to and save complex object like the example on the attached screen shot.
All events are triggered and worked fine. but the value never shows up;
So for ex: on database, when a school is selected, it save the newly selected school data to database, but the multiselect textbox it is always empty.
Below is my sample code:
<SfMultiSelect TItem="School" TValue="IList<School>" AllowFiltering="true" CssClass="form-control p-1" ShowDropDownIcon="true">
<SfDataManager Adaptor="Adaptors.CustomAdaptor">
<SchoolAdaptor T="User"></SchoolAdaptor>
</SfDataManager>
<MultiSelectFieldSettings Text="Name" Value=""></MultiSelectFieldSettings>
<MultiSelectEvents TItem="School" TValue="IList<School>" OnValueSelect="OnUserSchoolSelected"
ValueRemoved="OnUserSchoolRemoved" Cleared="OnUserSchoolsCleared"></MultiSelectEvents>
</SfMultiSelect>
Thanks beforehand.
Best reagrds,
Susanti
Attachment:
Untitled_1013e87c.zip