Questions tagged [blazored]

Libraries and Components designed for Microsoft's Blazor Framework

34 questions
8
votes
1 answer

Blazor Server - static files don't link in non-DEV environments

It seems in a standard Blazor server app, the _content folder items are not being referenced correctly for anything other than the Development environment. As an example, this reference fails in any non-dev environment: from _Host.cshtml:
Randy Gamage
  • 1,801
  • 6
  • 22
  • 31
7
votes
3 answers

Blazor Input File Component (File Upload)

I am facing one small issue related to Blazor Input File component used for file upload. Source - https://github.com/SteveSandersonMS/BlazorInputFile Component Call -
ZKS
  • 817
  • 3
  • 16
  • 31
5
votes
1 answer

Blazor [WASM] System.TypeLoadException: Could not resolve type with token 0100001a

I'm getting this error: enter code hereSystem.TypeLoadException: Could not resolve type with token 0100001a from typeref (expected class 'System.Threading.Tasks.Task' in assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral,…
2
votes
1 answer

How do I read and write to the local storage in Blazor server side using Blazored?

Working on a Blazor server side project. I am using Blazored Local Storage for this: https://github.com/Blazored/LocalStorage I have a dropdown, when a value is selected I want to store the value in local storage so that when the user returns to the…
Joe
  • 212
  • 2
  • 11
2
votes
0 answers

Blazored-modal.css not loaded properly when the app start

My Blazor app has some problem with Blazored-modal. If i try to show a modal pop as soon as someone visit the app, the modal pop up is not showed correctly and the console show this message: Failed to load resource: the server responded with a…
Simon3
  • 89
  • 1
  • 10
2
votes
0 answers

Blazor Blazored.Typeahead component throws exception after clearing textbox

Hi I'm trying to resolve this issue for some time and nothing seems to be working I've BazloredTypeahead component used in my project. I'm biding object from my model and I'm using template to get my object string representation Heres some…
Hesh
  • 141
  • 1
  • 8
2
votes
2 answers

Blazored.LocalStorage in client service

How can you inject Blazored.LocalStorage (v2.1.6) into a blazor webassembly service (3.2.0)? Here is what we tried. Getting null error when trying to await LocalStorage.GetItemAsync. App.razor @using…
Zack
  • 123
  • 2
  • 8
2
votes
3 answers

Blazor Text Editor not able to bind value on form (create/edit)

I am using Blazor Text Editor from source below. Source - https://github.com/Blazored/TextEditor I successfully integrated it with my create and edit form, however not able to bind-Value to it. Because of this my Data Annotation Validation is…
ZKS
  • 817
  • 3
  • 16
  • 31
1
vote
1 answer

Send data between page and modal dialog in Blazored

I have a page that lists some data in a table, in the last column I have created a That open the Edit page, and send the id…
Joe
  • 461
  • 1
  • 3
  • 15
1
vote
0 answers

How to "custom" the ModalPosition of Blazored Modal to be the center of the top?

Want to use Modal for the delete confirmation in my CRUD application and need to put the modal window on the center of the bottom. Looks like Blazored Modal is a good package and it provides TopLeft, TopRight, BottomLeft, BottomRight, Center and…
user14676730
1
vote
1 answer

Fluent Validation does not work as expected in child components

I'm trying to set up fluent validation for my application. Validation works fine for parent component. It shows messages as leave a field. However, it does not work in same way with child components. Validation messages do not appear. It works only…
Justas
  • 39
  • 1
  • 7
1
vote
0 answers

How I can access appsetting of server project in client-side-blazored Project.cs

"I want to know how i can access appsettings.json in client side balzored project.cs file."
1
vote
1 answer

Blazored Typeahead Set Value on load

I have a blazored TypeAhead Component Called SearchSelect. Here is the code: @using _3T.OPAMS.Entities.Models @inject ISearchService SService
Ashish Charan
  • 2,347
  • 4
  • 21
  • 33
1
vote
0 answers

c# Blazored.Typehead type arguments for method cannot be inferred from usage

I'm trying to add a search box with Blazor using Blazored Typehead but I'm getting this error: Severity Code Description Project File Line Suppression State Error CS0411 The type arguments for method…
JimAnt
  • 11
  • 1
1
vote
0 answers

CascadingParameter is null when trying to pull data from parent object

I am working on having a button setup that opens a blazored modal that allows a user to enter in the hours and minutes worked on a request, as well as adding comments. I started using the Blazored.Modal nuget package the [CascadingParameter] is used…
1
2 3