I am having trouble using a promise to wait for a function to end before returning a value. I have looked over this forum response several times but cannot work out how to get it to work.   Post > How do I return the response from an asynchronous...
I'm working on a Blazor project, where I basically have 3 projects: Client, Server, and Components. Components is an RCL. The structure is similar to the following:  Components (RCL) -- wwwroot/ ---- js/ ------ main.js  Client -- wwwroot/ ---- js...
I'm looking to build a website that works in the same manner that I have put together in this video, that isn't based on JS ( like it is in this video ), that can utilize C# in order to interop with JS and get windowWidth and windowHeight, an...
I'm trying to load the below table, however, the drop-down menu for the school is not loading. It looks to me like it's null. And I figured that the InputSelect doesn't work with an INT ID yet in Blazor.   I filled the below for and the c...
Hello i am trying to  call a method from a js file from Blazor. My file structure is like this:  -root   -JSInterop.cs   -js(folder)     -meth.js  (file containing the js method)   I keep getting the following error :   Could not find 'methods...
I'm using the Blazor template which using the NavLink component.  This wraps up the bootstrap menu so it's basically bootstrap underneath.  I cannot find any documentation about NavLink.  I've seen a couple articles that explain some of t...
I have a Razor Class Library project in which I want to add a couple of custom components that use JavaScript interops. The interops work fine when I call functions that already exist in the Window object. This, for example, works fine:  JSRuntime.In...
I am working on my first Blazor page. I am not a UI designer so I primarily know C#. I don't know Javascript at all.  I have downloaded an HTML template to help me with the design part. This template  uses Javascript to do some nice effects on th...
I have a Blazor server app with two buttons. The first button calls the MenuOpen method in C#, and the second calls the TestJSInterop method in C#. Here is the code:  @inject IJSRuntime JSRuntime;  <!-- buttons -->  @code {     List<int>...
Disclaimer: I am familiar with web technologies but still a newbie.  Scenario: I want user to choose an audio file from local file system. Then I wish to show a small audio control on the webpage to play the selection and send the audio back to the s...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.