The provided code snippet throws an error in the window.open call, which breaks the entire app. I am attaching a short video that demonstrates this. I strongly advise that you monitor the browser console to ensure there are no errors. Blazor cannot take circular JS object references, and the window object returned from window.open has a circular reference - its .parent field points to the current window instance.
A workaround for that can be defining you own function that does not create a circular reference because it will never serialize a return type back to Blazor. For your convenience, I am attaching a sample of this.
Progress is here for your business, like always. Read more
about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.