Hi Patrik,
Greetings from Syncfusion.
We have analyzed the provided information and we suggest to use the below model class to retrieve the records from the client-side, From the below code example, we have returned the multiselect dropdown values as an array to the controller. So the type has been mismatched and you will get this defect.
public class ReceiveDataModel
{
public int MakeID { get; set; }
public string MakeName { get; set; }
public int[] AccessoryName { get; set; }
}
public JsonResult OnPostEditMake([FromBody]CRUDModel<ReceiveDataModel> value)
{
var x = value.Value;
return new JsonResult(value.Value);
} |
We have created a sample with the above mentioned model class and that can be download from the below link,
Please get back to us, if you need further assistance.
Regards,
Thavasianand S.