We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Blazor EjsMultiSelect throws client-side runtime exception

I am using server-side blazor and the EjsMultiSelect control. At runtime, the dropdown appears to work fine but during any operation throws the following exception in the browser console:

Uncaught (in promise) Error: System.ArgumentException: The assembly 'Syncfusion.EJ2.RazorComponents' does not contain a public method with [JSInvokableAttribute("UpdateModel")].
   at Microsoft.JSInterop.DotNetDispatcher.GetCachedMethodInfo(:5000/String assemblyName, String methodIdentifier)
   at Microsoft.JSInterop.DotNetDispatcher.InvokeSynchronously(:5000/String assemblyName, String methodIdentifier, Object targetInstance, String argsJson)
   at Microsoft.JSInterop.DotNetDispatcher.BeginInvoke(:5000/String callId, String assemblyName, String methodIdentifier, Int64 dotNetObjectId, String argsJson)
    at endInvokeDotNetFromJS (blazor.server.js:8)
    at blazor.server.js:8
    at new Promise (<anonymous>)
    at e.beginInvokeJSFromDotNet (blazor.server.js:8)
    at blazor.server.js:1
    at Array.forEach (<anonymous>)
    at e.invokeClientMethod (blazor.server.js:1)
    at e.processIncomingData (blazor.server.js:1)
    at e.connection.onreceive (blazor.server.js:1)
    at WebSocket.i.onmessage (blazor.server.js:1)

1 Reply

PO Prince Oliver Syncfusion Team May 15, 2019 09:52 AM UTC

Hello Andrew, 

Thank you for contacting us. 

This issue is a known issue in our end and we have fixed the issue and it is included in the release version 17.1.0.47. We suggest you upgrade the package in your end to resolve the issue. Kindly use below latest packages while creating application 

Nuget: dotnet add package Syncfusion.EJ2.AspNet.Core.RazorComponents -v 17.1.0.47-* 


Let us know if you need any further assistance on this. 

Regards, 
Prince  


Loader.
Live Chat Icon For mobile
Up arrow icon