Working on a Blazor app, my buttons aren’t calling my methods
I’m working on a Blazor project for some personal learning, and I’ve hit an issue that I can’t seem to figure out the solution to. That being most of my browser-side buttons don’t seem to do anything, likely because they aren’t calling my methods. I’ve checked my syntax, debugged my code, and checked for errors on browser side and I can’t see anything that should be wrong. Everything I can find elsewhere says there shouldn’t be a problem with my code, so I’m here to ask for help. Below is the razor page, ’cause I can’t imagine that the problem is with my CS partial page.
Does Blazor have an LSP for modal text editors like vim and helix?
I can’t find an LSP for Blazor for ASP.net which I need to use in an editor like vim or helix.
Blazor update a label after selecting option from dropdown list; remove option for other lists after selected
I have a of Hexes, buildings/improvments and NPC Hirelings. I would like to nest via a loop the Hexes, buildings/improvments and NPC Hirelings so that I can assign a hireling to a building that belongs to a Hex via a drop down. And once the Hireling is selected populate a label with some text and also remove/disable the hireling from all other drop down.
Bootstrap theme breaking on page navigation or hot reload
I implemented a Bootstrap theme using Blazor. Everything seems to work properly, except when I navigate to a new page or use hot reload in Visual Studio. In those cases the css seems to break a bit (but not massively). A reload fixes it. Does anybody have any idea how I can fix this or figure out what’s going on?
Bootstrap theme breaking on page navigation or hot reload
I implemented a Bootstrap theme using Blazor. Everything seems to work properly, except when I navigate to a new page or use hot reload in Visual Studio. In those cases the css seems to break a bit (but not massively). A reload fixes it. Does anybody have any idea how I can fix this or figure out what’s going on?
Bootstrap theme breaking on page navigation or hot reload
I implemented a Bootstrap theme using Blazor. Everything seems to work properly, except when I navigate to a new page or use hot reload in Visual Studio. In those cases the css seems to break a bit (but not massively). A reload fixes it. Does anybody have any idea how I can fix this or figure out what’s going on?
Bootstrap theme breaking on page navigation or hot reload
I implemented a Bootstrap theme using Blazor. Everything seems to work properly, except when I navigate to a new page or use hot reload in Visual Studio. In those cases the css seems to break a bit (but not massively). A reload fixes it. Does anybody have any idea how I can fix this or figure out what’s going on?
Blazor 9: 404 error when navigation to new page
I have created a new page by creating a new componenet and adding a @page /testpage directive but when I click on a link, I get page not found.
Typescript function undefined
I’m trying to get familiar with Blazor/Typescript interop.
Blazor 8 sample: multiple DB reloads
I’m using the MS sample (https://github.com/dotnet/blazor-samples) as it’s about all I need to re-write reports for a legacy DB. I notice it seems to reload from the DB without interaction from me i.e. just opening the home page. It seems like it’s going into home.razor a number of times (e.g. it hits my breakpoint on _lastPage initialization) causing it to query the DB each time. With the simple/local DB they use that’s not much of a performance issue but with a real/remote DB it adds a lot of time.
So what’s triggering the ‘refresh’ and can/should I avoid it?