Hi there,
I have another issue where I have a Multi Select Drop Down List which passes back this to the controller:
I only need to pick up the two GUID's rather than the two names. This is inside a inline form template on a grid, where I dimension a <select> tag on the template and change it to a Syncfusion Drop Down List:
$("#PublicationId").ejDropDownList({
dataSource: newItems,
fields: {
text: "Name",
value: "Id",
selected: "Selected"
},
showCheckbox: true,
multiSelectMode: ej.MultiSelectMode.VisualMode,
validationRules: { required: true },
validationMessage: { required: "Please choose at least one Publication" }
});
I only need to capture the value's of the selected items rather than the Names plus the Values.
Can you please help?
What does the variable need to be at the controller in order to capture this?
Many thanks,
Frankie