I am working on a project(Blazor Server) where I have few components in Admin folder, If I set page directive like “/Admin/CreateCategory” the Onclick stops working on the page. Render Mode is set to Interactive Server on page.
When I change the page directive to “/Admin-CreateCategory” Onclick start working.
I want to keep this style “/Admin/CreateCategory” please tell me why my Onclick stops working on this style of page directives?