Skip to content

Tag: .net

JSInvokable Blazor method not being called

I’m trying to invoke a Blazor method in JavaScript inside of an OnSuccess callback for the Plaid API. Here’s the JavaScript that’s being run: Here’s the Blazor code being used: The Blazor method InitializePlaid is being called to invoke the JS method InitializePlaidLink. Then, on success, the Blazor method OnPlaidLink Success should be called. I used log statements to confirm

Build a view model for c# using jQuery

I have one view model and i’m pass that view model into controller, but one of the model property is a list of other class. so i’m not able to bind it via jQuery. I have the following view model. ToolsParamsBlockViewModel class that is used as list type here is my controller method that handle viewmodel data and finally im