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

.NET 9 Blazor Web App CascadingCascadingAuthenticationState always false

I created a new project using a .NET 9 Blazor Web App template.And followed the documentation for adding the authentication state provider.My understanding from the documentation is that the all I need...

View Article


Maui BazorWebView. Information Needed

I currently trying out Maui and would like to keep the Maui Shell and components as the base platform.But I have found that the CollectionView with about 20 or 30 complex items becomes almost...

View Article


When changing value in an InputSelect in Blazor - it resets the value back to...

OK I'm new to Blazor and I'm trying to change the value set to an InputSelect control. When I change the value, it resets it back to what it was before I changed it. Here is my code:@page...

View Article

Blazor performance

I would like to start using Blazor, despite the fact that it is still at the alpha level.As I understand it, Blazor uses WebAssembly to compile C# on the client side.And I have these questions:Does...

View Article

Image may be NSFW.
Clik here to view.

Scoped generated css is not working inside docker container for blazor web app

I am trying to run a new blank blazor server web app (created by visual studio 2022) with dotnet 8 inside a docker container. While the app runs perfectly but the styles are total mess. Seems like the...

View Article


in blazor app using javascript setScrollPos and getScrollPos to maintain...

In my Blazor app, I'm using the following JavaScript to maintain scrolling on my list page after returning from details page. The user experience is not the greatest, it starts at top of the page then...

View Article

Authentication in Blazor pages is not persisting. Why?

I've implemented a user authorization in Blazor server using both local DB and Microsoft Azure.When a user authorizes using Microsoft Azure the authorization is persistent when changing Blazor...

View Article

How can we host Blazor Server Side and Web Assembly together as one application?

Need some help here.So we are in process to take Blazor as our front-end framework but I am stuck on a very small thing.First here is the requirement:We need a SSR website, where we can show the list...

View Article


Proper way to use HttpClient to avoid null BaseUri

I got this error:InvalidOperationException: Cannot provide a value for property 'Http' on type 'XBlazor.Components.Themes'. There is no registered service of type 'System.Net.Http.HttpClient'.Using a...

View Article


Blazor page with list of ideas [closed]

I am trying to create a page with a text field. After entering the text I press a save button and the text is added to a list (as a line) in read mode.However, I'm not being able to achieve this.So, I...

View Article

Static .js in blazor class library not available in app

I created a BCL containing amongst other thins a js file. The file is located in the BCL in wwwroot/scripts. This js should be made available to the blazor app.The BCL has:<ItemGroup><Content...

View Article

Intellisense keeps crashing in VS 2022 for Blazor apps in razor files and more

In the latest official version of VS 2022 and I also tried in prerelease 17.14.0 Preview 2.0, but the problem still occurs - for unknown reasons Intellisense stops working completely, does not see...

View Article

How to change favicon.ico in a blazor app?

How to change favicon.ico in a blazor app?I use<head> <link rel="shortcut icon" type="image/x-icon" href="favicon2.ico" /></head> but do not see the new icon.What I do wrong?

View Article


Binding Value after Jquery gives Id value

I have a jQuery function that is giving an id a value in my <EditForm>. This value is populating in my <InputText> but when saved doesn't bind to the variable(ex...

View Article

How to redirect to error page when there is dependency injection error while...

In Blazor Server webapp, I click on a link that leads to a page and that page uses an IAbcApiClient. During resolving the dependency injection of IAbcApiClient, it threw an error (e.g. invalid URI). So...

View Article


Add Class When Button Is Clicked While Other Buttons Are Present On Page In...

I can't seem to solve this without using integers or different class or event names per button (which isn't scalable). I have a custom ripple-effect that I've created in Blazor and need each button on...

View Article

Blazor Syncfusion sfgrid export to Excel

I'm trying to Export a list from a filtered Syncfusion grid to Excel. I followed the code from an example. The code runs but nothing seems to happen. I haven't been able to solve this by looking at...

View Article


In bLazor UI why is my form binding not working? [duplicate]

searchString and SearchString is always empty even when i pass value to the input form. I can't get this data binding to work in blazor?<h1>Bind Example</uh1><p><label>...

View Article

How To Manage Multiple Click Events On A Button Component In Syncfusion Blazor

So I have a child button component that uses onclick event to add a class and then remove the class after a short bit of time (for a button ripple effect). The issue I am facing now is adding another...

View Article

Image may be NSFW.
Clik here to view.

I have 2 list pages and scroll position is remembered when switching between...

I have 2 list pages (tasks and contacts). I'm using the NavMenu.razor that comes with the Blazor Web App for the links.<div class="nav-item px-3"><NavLink class="nav-link"...

View Article
Browsing all 4048 articles
Browse latest View live


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