Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Browsing all 4252 articles
Browse latest View live
↧

Problem with disabling zoom using Blazor-ApexCharts (line chart)

I have a blazor project, in which I use Blazor-ApexCharts.The relevant part of the razor view is:<ApexChart TItem="DataToPlot" Title="" Height="350" ><ApexPointSeries...

View Article


Blazor Hybrid window move event?

I've been trying to find how to register the move event of any of the windows types in a blazor hybrid app.All of these have a SizeChanged event or similarly named, but none of them something like...

View Article


MudAutoComplete : Problem to get current text without any suggest selection

I'm using MudAutoComplete to implement suggestions based on user entering text, It works perfectly.My problem is that when user write a text & press Enter, in KeyDown eventHandler i've get the...

View Article

How 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 Article

ASP.NET Core / Blazor: How to implement Permissions based (non-Policy)...

Using Blazor WASM, I want to implement a dynamic permissions based authorization system that isn't definable at build time. The current "Policy based" authorization built-in system requires that...

View Article


Authentication and Authorization on Client like Blazor Web Application and...

In .NET 8, I've got a shared Razor component library, here I'm using Blazored localstorage to store and read the session information. That's because the application needs to run offline.For this...

View Article

Controller class does not get called when using Azure authentication

Short problem description: I can't make an internal API call to my controller class after using M365 authentication when starting my app. Retrieving ID or access token has not worked so far and...

View Article

Why do I get Partial declarations must not specify different base classes in...

I've looked into every related question but I haven't found a solution yet.I have two files: Table.razor, and Table.razor.csTable.razor looks like this:@namespace MyComponents@inherits...

View Article


C# StateHasChanged() in a razor component does not force tag to load/change...

I am experimenting with server-side blazor. I am trying to have multiple buttons set/change the .mp4 file playing in a tag in a razor component. The only way I have found to make this work is calling a...

View Article


Blazor redirect not working on mobile (iOS & Android) after user...

I created an app that you can view for context: fitsked.net. When registering on a laptop, the registration works fine. When registering on mobile (Chrome or Safari), the registration fails. Pause. The...

View Article

ASP.NET Core Identity Cookie Stored But Not Being authorizing - Blazor Web App

I am trying to authenticate an user from Blazor to access resources on a ASP.NET Core Web API using ASP.NET Core Identity.I have two authentication methods configured: JWT and Cookies.When I login from...

View Article

MudBlazor MudDialog not properly freeing memory/disposing

I have a medium-sized application with a table and one feature of the table is the ability to click on a button which opens a view of that row in the form of a MudDialog. The dialog loads data in from...

View Article

Image may be NSFW.
Clik here to view.

DenyAnonymousAuthorizationRequirement Error in Blazor WASM

I am working on a Blazor WebAssembly hosted app that use JWT authentication / authorization. When I run the project and try to register or login, I get the following information log indicating that the...

View Article


What do I have to do to post data to a .Net 9.0 Razor component?

I would like to pass a value from a Blazor web assembly component to the server and redirect to another top level Razor component, but not display the value in the address bar.The only way I've managed...

View Article

How to share signalR hubConnection across multiple pages in Blazor server?

I'm following this tutorial creating a chat app.My chat app has multiple pages with different chatrooms. Every chatroom has the same code, I use this @page "/chat/{roomId:int}" to denote each of the...

View Article


Is there a way to easily implement type-safe routing in Blazor?

I am working on a Blazor project, and couldn't help but notice that the navigation is not type-safe. It is really hindering the development process, as it is really easy to make mistakes related to it....

View Article

Blazor puts imports in bundled CSS in "wrong" order - can I control it?

We have an app with some CSS coming from QuickGrid and some from CSSes behind Blazor components. These are bundled into a "projectName.Components/frontendWeb".bundle.scp.css which imports QuickGrid.App...

View Article


Mutliple validation messages for one input field

I have an edit form that uses Fluent validation for validations. Fluent is returning multiple validation messages for a property but this section in the edit form always displaying the first message in...

View Article

Blazor replace URL in browser history

Is there a way in Blazor routing to replace the URL link when navigating to another page? Something similar to window.location.replace in JS, or the replace attribute in React's "Link" tag, or React's...

View Article

How do I view lookup table values with Blazor QuickGrid?

OK I'm playing around with a Blazor tutorial and I'm experimenting with lookup tables - a Movie table and a MovieStarRatingTable.This is my Index Page:@page "/movies"@rendermode InteractiveServer@using...

View Article
Browsing all 4252 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>