Which element was causing the MudMenu to open?
I have a mud menu like this<MudMenu ActivationEvent="MouseEvent.RightClick"><ActivatorContent></ActivatorContent><ChildContent></ChildContent></MudMenu>and it opens...
View ArticleI think the detail page is remembering the scroll position of the list page
Here's a weird one:I have a Blazor contact list page and when I scroll down and click a contact to go to detail page the detail page is scrolled to the bottom. If I pick the first record on the contact...
View ArticleHow might I share css files between both a MAUI Blazor mobile app and a...
I have started a .Net 9.0 'MAUI Blazor Hybrid and Web App' project.The solution contains the following projects:myawesomeappmyawesomeapp.Sharedmyawesomeapp.Webmyawesomeapp.Web.ClientI am going to...
View ArticleBlazor WASM Authorization Policy issue when opening new browser tab
I am building a Blazor WASM app and I am struggling with the following:I have a few Authorization policies dictated by the use of@attribute [Authorize(Policy = "MyPolicy"]Everything works great. The...
View ArticleUI Shows Stale Data After Editing Category Name (Database Correct)
Project overviewI'm trying to make a webshop for a school project using blazor Server/Web App. All I have now is a login/register page and an overview where a user (admin) can add, remove or edit...
View ArticleCannot submit the form because no form on the page currently has that name
I have two EditForms in a Blazor Static Server Component.I want to show 2nd EditForm when first one is submitted, and then Submit 2nd EditForm and get it's data. But upon submitting 2nd EditForm I get...
View ArticleDeploy Blazor WASM .NET 8 To Azure App Service using Azure Pipeline
i'm trying since hours to deploy my wasm app to azure app service. I had it before on static webapp this works fine, but i need it to run on app service now.I used the same pipeline as for my blazor...
View Article.NET Aspire: why doesn't WeatherApiClient.BaseAddress resolve correctly?
For the .NET Aspire Starter App, imagine that I extended the WeatherApiClient like this:namespace AspireApp1.Web;public class WeatherApiClient(HttpClient httpClient){ public Uri? BaseAddress =>...
View ArticleHow can I prevent reload when routing to a .NET 8 Blazor Web App Template?
I am using the .NET 8 web app template. I simply want for the layout of my project to not be reloaded when a new routable page is accessed. The layout contains a nav menu tree view which should not be...
View ArticleMAUI Blazor Hybrid and multiple front-end layouts
I'm creating a new solution using the template for .NET MAUI Blazor Hybrid and Web App. Using the solution out-of-the-box is working. When I start to add the pages, I'm having some issues. Just for...
View Article.NET and Blazor 8 - handling exceptions without ErrorBoundary on Interactive...
I have a Blazor & .NET 8 Web App which uses interactive server mode to render its pages.Is it possible to add a global handler which will catch unhandled exceptions before the default yellow "An...
View ArticleUse a directive / conditional to load different stylesheets in app.razor when...
I'm wondering if there is a way in a Blazor app to load a stylesheet using a conditional of some sort? I want to load different css according to a variable or user setting. Less about where the setting...
View ArticleRadzen Dropdown didn't show any data
I'm using the Radzen component to show the dropdown, but no data has been shown.<RadzenFormField Text="Class"><ChildContent><RadzenDropDown Data="@MasterClasses" TextProperty="Name"...
View ArticleToolTip On MudTreeview
I am building component that works similar to windows explorer. When the user is pointing to the each folder it should show the tool tip of each folder's created date.But in the Too tip of all the...
View ArticleMAUI Blazor hybrid project use also for web-project?
Is there a way to somehow use the views created in MAUI Blazor hybrid for a web project as well? Has anyone tried this and are there examples somewhere (I couldn't find anything so far)?It's depressing...
View ArticleCan't generate ComponentOne FlexReport in Blazor Server App
I am trying to generate report that contains FlexChart component but I keep getting an errors.I tried loading data to report as DataTable but I get "Could not load field of type [FlexChartField],...
View ArticleHow can I add the MAUI Blazor start page to the mobile project using the .Net...
I have a .Net Maui Blazor hybrid and web app solution, with the four mobile, web, shared and client projects.Most of the application is in the shared project and the mobile and web projects display...
View ArticleHow do to add padding to a Bootstrap badge?
I have the following code to add badges:@foreach (var item in items){<span class="badge badge-secondary badge-larger">@item.Name</span>}And the following css:.badge.badge-larger {...
View ArticleMudBlazor reusable component for editing complex objects with field...
I am trying to create reusable components for my MudBlazor application, to create some financial products. For example in our company, all products have a commodity (that's what you are purchasing,...
View ArticleHow do I change a BlazorGoogleMaps GoogleMaps component's MapTypeId...
I want to provide a way for the user to change the page's GoogleMaps component's MapTypeId with a few buttons. I am using Blazor WASM.How do I do that?I'm using MudBlazor components, so I would greatly...
View Article