Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Navigating to a dynamic route based on ID from a table in Blazor

$
0
0

I have a table in a Blazor page that displays several records. Each row contains an ID, and I want to allow users to click on the ID, which should navigate to a new page with a dynamic route based on that ID.

For example, when I’m on /page1 and I click an ID (e.g., ABC1), I want to navigate to /page2/ABC1.

How can I implement this kind of dynamic routing in Blazor?

I'm using .Net8 and server-side rendermode.


Viewing all articles
Browse latest Browse all 4839

Trending Articles