How to trigger update from Blazor embedded page call
Sorry I don't know what it's called, but from a razor page (Files.razor) I embed another page using something like . AddFile.razor is a utility method that allows the user to upload a file and add it...
View ArticleNeed an Input to accept decimals and fractions
In my Blazor application, I wonder how I can allow an Input to accept either decimal numbers (e.g. 23.45) or fractions (e.g. 45 3/8)?E.g. currently I have an Input that takes only...
View Articlewhere rendering takes place, on the client or on the server
I have a server and a client in my Bazor web assembly project. So, I have a js file defined on my server, which contains the WebGL rendering code. in the client, in the counter component, I call the...
View ArticleBlazor -valid antiforgery token was not provided with the request. Add an...
I created a Microsoft Teams app using Razor components and have configured the following it, but still receive an antiforgery token error.In...
View ArticleUse JavaScript TradingView Widget in Blazor razor page, possible?
try to use Widget as it is from Trading View in test Blazor razor page. Chart appearing, but I can't change parameters in code, since compilator does not accept anything after src attribute as on the...
View ArticleThe 'InnerHandler' property must be null. 'DelegatingHandler' instances...
I have a custome message handler in a MAUI Blazor App for handling API request handling like Loading spinner, defining request header,and checking api exceptionpublic class CustomHttpRequestHandler :...
View ArticleHow transfer data from a child component to its parent in C# Blazor using an...
I'm encountering an issue while attempting to utilize a reusable input component for creating a new user profile. When I try to create a new user, all the data entered into the reusable component...
View ArticleHow to use server rendering and static SSR rendering at the same time?
I am about to create a register page based on Microsoft.AspNetCore.Identity and blazor web app.Firstly, I created a blazor web app project and set Authentication type to Individual Accounts in its...
View ArticleAzure AD B2C Unauthorized for API
I am building a Blazor app which I intend to protect using Azure Active Directory B2C.I created an AAD B2C app registration, and exposed an API from it. Then I created another app registration to serve...
View ArticleMake Blazor stay in sync with JS manipulated DOM
My problem is that I have a page which implements IDisposable interface, and when I move away from this page I get an...
View ArticleonSelect function on a select element doesn't get called in Blazor
I'm currently working on an application that displays some movies. I have an API that successfully retrieves the movies and also has the option to get movies by a specific genre. For that I've created...
View ArticleHow can I use additional icons in NavMenu in Blazor 8?
I want to use additional icons in the NavMenu.razor in my Blazor 8 application. In Blazor 7 there was a iconset configured in wwwroot/css/, and so I was able to use additional icons only with naming it...
View Articleblazor List passed as paramater to child component doesnt change
I've been experiencing some issues with Blazor component parameters. To put it briefly, I have a list in the parent component along with a button. Every time I click the button, an item gets added to...
View ArticleCustom authentication works, but fails on refresh
I have implemented my own authentification in MyAuthenticationStateProvider which derives from AuthenticationStateProvider.In program.cs, I register this...
View ArticleHow Do I Determine the Criteria for Allocating Pages to the Client Project in...
Blazor United in .NET 8 creates two projects,"BlazorApp1" project"BlazorApp1.Client" project.I understood that, "BlazorApp1" is designated for Static Server and WebSocket pages, I cannot or I should...
View ArticleRendermodes for a page that populates components on the client side
This is what I used to have: when a page is loaded, a JSON is read from the <body>'s data attribute and then parsed via JavaScript to populate the elements (components).I want to create a Blazor...
View ArticlePOST Form Data to Blazor razor component (application/x-www-form-urlencoded)
I just started learning Blazor so please be patient with me if the question is strange.Is it possible to POST Data as content-type "application/x-www-form-urlencoded" to Blazor razor component so when...
View ArticleToggling between showing and hiding password on Blazor
I am wondering if it would be possible to create a toggle on an password input field to give the user the ability to toggle between the password being hidden or shown, without using a JavaScript...
View ArticleQuill Editor - Adding Picture not working
Added Picture functionality to Quill Editor (Blazor Serverside)But throwing exception A task was canceled. on:await this.QuillHtml.LoadHTMLContent(entity.Body);Quill Editor with image belowAny advices...
View ArticleError at app startup: An action cannot use both form and JSON body parameters
In a new Blazor WebApp project I'm converting as much C# as I can get away with, so that I can build as much of the application as possible in my preferred language. This includes pretty much...
View Article