EnderWolf
✅ MVC to Blazor
Hello! so awhile ago, I made an mvc. I am now attempting to port the code over into a new blazor project but am unsure on how to do this, as with the mvc I had 1 view called Events, which would get opened via clicking a button in a drop down menu that would open the view with different data based on which drop down button you clicked. but with Blazor, through all my research I don't think it is possible to return a page as such. here is some of my code from the mvc, any help would be greatly apricated!
The event controller:
16 replies
✅ Nested views failing
Hello! so, I've got a small issue.
I have this view called Edit which has the following button:
I am trying to get it so that when this button is clicked, it takes the user back to having the details view opened in this part of the dashboard view (note the page with the submit button is currently opened in there)
this is my current js
here's the end point it hits:
and this is the Details end point:
I have some almost identical code that works fine, but this one seems to just open the view as a whole view instead of nested inside the first
51 replies
mvc not finding blazor item, 404 not found
Hello! so, I've got a question if you don't mind answering. I made an MVC in .net 6 which I then later updated to .net 8. a few days ago I added a new blazor page to it, which works completely fine. they can be rendered inside views/other pages completely fine. however, I'm now trying to get it so that another blazor page opens when a button is clicked. this seems to just give me a 404 error
the page that's open is:Progect\Components\Dash.razorthe page I am trying to open is:Progect\Components\Counter.razor
The page to open
3 replies