How binding and rendering observable properties in blazor?
I Investigate Blazor and attempting binding observable property to Sf Progress Bar. Property looks like following and created in backend lib. public long Counter { get => _counterSubject.Value; set...
View ArticleBlazor Server App Not recognizing more than one component
Visual Studio 2022.Blazor Server app.Created a Components folder under my WebApp folder.Created a .razor compnent - a dialog box.Reference this dialog box, no issues, works as expected.Now, when I...
View ArticleHow to mock Blazor Sections
I have a blazor component that contains a SectionContent within which is a html table node.<SectionContent SectionName = "top-row"><table id="weatherTable">//table contents...
View ArticleSide Bar loading failure in bootstrap blazor
I am trying to create an application using Blazor. In that application I am using sidebar component of Blazor. I have installed Blazor bootstrap and have given every reference of dependencies which are...
View ArticleMake wwwroot folder and file writable after publish in a Maui Hybrid Blazor...
I have a nuget package for print pdf, but the path of the pdf file has to be in wwwroot folderNuget Package PrintSo i generate the pdf and save it to the wwwroot file and then call the print service,...
View ArticleUnable to cast object of type 'Server.Circuits.RemoteNavigationManager' to...
Trying to move Blazor Web App to Hybrid result in exception on application start:blazor.webview.js:1 Unable to cast object of type...
View ArticleProblems with reactivness using blazor c#
Hi guys basically I have two individual components, I'm trying to send a list of reports from the first component to the second one for that I've created a global state so that i can share data among...
View ArticleHow can I change default AspNetUserLogins table to MyUserLogins table in...
When I create a Blazor web app with authentication type = Invidual Account. It automatically maps with default AspNet tables. Can I change the name of these tables to make it maps with my tables in...
View ArticleHTML Table filling full height of parent div with scrolling
I have a Blazor component which is just a html table. I want to style the table so that it always fits into the parent div of the component. The rows have a fixed size, so if the table has more rows...
View ArticlePassing parameter in mudtable
I have 3 components one MainComponent (Test.razor) consuming theParent Component(ParentComponent.com) and ChildComponent.ChildComponent.razor<MudTd DataLabel="Select"><MudCheckBox T="bool"...
View ArticleHow to implement a determinate progress bar using the Radzen Progress Bar...
I'm new to Blazor, and I tried implementing Radzen's progress bar but I'm not sure what's the proper way to update the progress of the progress bar in my parent component. I'm also using purely Blazor...
View ArticleBlazor validation works only when single field is present
So the thing is I have a little sandbox to play with Blazor. There is a basic form with a few fields. I'm trying to put some validation on that. The input fields are custom component, applied some...
View ArticleReading server-side files using Blazor
I have a project based on the Blazor sample with a .Client, .Server and .Shared projects. I have a textfile data.txt on the server that I want to be able to read/write using standard StreamReader /...
View ArticleBlazor server bootstrap template doesn't render properly .NET 8
I have an issue after installing the template in my Blazor App.I have created a WebsiteLayout :<div class="page"><header class="reveal_header"><div class="container"><div...
View ArticleHow do I call method in Blazor component from XAML code?
Is there any way how to call blazor method (ShowSomething()) from xaml code (Button_clicked())?for example:@page "/"<h1>Hello, world!</h1><h1>@if (testingString is not null) {...
View ArticleBlazor bind-value:event oninput
I am trying to trigger the model validation in Blazor by using EditForm.For some reason, the oninput event doesn't seem to be called if using the InputText, but it works using a simple input...
View ArticleWhat is the default ASP.NET http/https launch profiles (launchSettings.json)...
For the last few years, the default launch profile for ASP.NET Core projects are http or https (beside IIS Express). I can't find any info on what exactly is launched (is it Kestrel?) or how do I...
View ArticleBlazor pass ValidationMessage to extended InputText component
I have an ExtendedInputText component which inherits from InputText@inherits InputText<div class="flex"><label class="w-1/2"> @Label @if(Required){<span class="text-red-500...
View Articleusing javascript modules in Blazor
I would like to organize javascript code in modules in Blazor.I followed some javascript tutos on this topic, but it is not to working in blazor.Here is a simple example.Starting from a blazor...
View Articleerror the in razor.g.cs file, can't find in VS, can't find the _razor.g.cs file
I'm getting "; expected" error in my .razor file and in _razor.g.cs file,In previous blazor versions I was finding these g.cs files in the solution folder, now I can't find them there, and double...
View Article