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

show name instead of Id while using MudSelect and @bind-SelectedValues

i have the problem that when i have a dropdown in Blazor like this<MudSelect T="Guid" Label="Items" MultiSelection="true" @bind-SelectedValues="selectedItemIds" Variant="Variant.Outlined"...

View Article


Blazer Server: Trying to call a .net method from JavaScript using...

I am trying to call a .net method from some JavaScript in my Blazer server application, following this documentation but I always get No call dispatcher has been set.I want to have the .net methods in...

View Article


Calling camera on android in blazor server

I have this code:@page "/Skaner"@inject IJSRuntime JS@using BlazorBarcodeScanner.ZXing.JS<BarcodeReader Title="Skanuj kod kreskowy" StartCameraAutomatically="true" ShowStart="true" ShowReset="true"...

View Article

In Blazor WASM with with Open ID Connect how can you force an Auth/ID Token...

I have a Blazor WASM app integrated with my IdP via Open ID Connect. We need custom claims that are stored in the ID Token and Auth Token. This all works fine in the most part. However, there are a...

View Article

Changing property in Razor @ref component does not update its usage in HTML...

Beginner at Blazor here.I have this very simple Razor component that has a property named Paragraph which is being used by the HTML <p> element:<p>@Paragraph</p>@code { public string...

View Article


Blazor ErrorContent not catching an error

Blazor Interactive Server - in my MainLayout.razor I have:<ErrorBoundary><ChildContent><!-- lots of nodes --></ChildContent><ErrorContent Context="error"><main...

View Article

Blazor - how can I force an update of a variable to an underlying component

I have a component that will pop-up a dialog asking if you're sure you want to discard changes when switching to a different page. I put it on each page as follows:<ConfirmNavigation...

View Article

AuthorizationHandler gets new instance of injected service

I have a Blazor app with custom AuthorizationHandler and IAuthorizationRequirement. Snippet from the AuthorizationHandler: internal class PermissionLevelAuthorizationHandler :...

View Article


How to notify blazor(webassembly) about DOM changes made from js?

I'm trying to reduce render count of a very heavy component which renders thousands of spans. I can't apply virtualization because spans have different size.<div contenteditable="true"> @foreach...

View Article


Pass large JS blob to Blazor byte[]

I need to record some audio, maybe even video, using Media API in JS, example for Blazor. Then, I would like to pass recorded Blob content from JS to Blazor. As far as this is audio or video content,...

View Article

Is it possible to host a Blazor WebAssembly app inside business central...

Is it possible to host a Blazor WebAssembly app inside a business central control add-in?To clarify this better, I do not want the Blazor app to be hosted on a server and then be loaded in the control...

View Article

Image may be NSFW.
Clik here to view.

Infinite Redirect Login Loop with Keycloak OIDC in ASP.NET Core 8.0 Blazor...

I'm currently facing an infinite redirect loop issue when integrating Keycloak for OpenID Connect (OIDC) authentication in my ASP.NET Core Blazor Server application using Radzen.Technologies...

View Article

Blazor MFA Login using Entra - Setting Session Length

I have a Blazor website that uses MFA loin via Entra and it works fine, what doesn't work is the session time. After 1 hour, the session ends and the user is logged out and forced to log back in. Is...

View Article


WkHtmlToPdf in .NET 8 Blazor WebAssembly Server Side Fails on Subsequent...

I am working on a .NET 8 Blazor WebAssembly application (server-side) where I am converting HTML to PDF using WkHtmlToPdf. I'm using the wkhtmltox.dll directly from the project’s server folder.The...

View Article

Image may be NSFW.
Clik here to view.

OpenIdConnect not working after deployment of blazor server app

The Blazor server application is working locally with a locally stored certificate. But the application is not working in the Azure portal, it keeps on showing pick an account dialogue. Application is...

View Article


Avoid we rerendering of Speckle 3D viewer in MudBlazor

I am working on a MudBlazor application where I am integrating a Speckle 3D viewer. The issue is that the 3D viewer reloads every time I navigate between different pages. I would like the model to be...

View Article

Blazor the type or namespace name 'App' could not be found (are you missing a...

I have setup the basic application in Blazor in Microsoft Visual Studio Community 2019 Version 16.1.3 and I have tried both of the versions of .NET Core SDK 3.0.100-preview5-011568 and SDK...

View Article


How to Filter data for Radzen PickList Data

I'm working on server-side Blazor Project using RadzenPickList component to display a list of data from my People table. I want to filter the data based on CompanyId and TypeId before displaying it in...

View Article

Once time fetch API when render many of the same component

I have a Blazor component that needs to get data via the API, the problem is I call fetch API in OnInitializedAsync function, so every time I render the component the fetch API will call.Because the...

View Article

Is there a way to have dynamic regex strings in a RegularExpression attribute?

The textbox on my Blazor app is being validated using a [RegularExpression] attribute. This attribute needs to be dynamic, in that I need to be able to change the validation string "on the fly". I have...

View Article
Browsing all 4856 articles
Browse latest View live


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