Radzen with Blazor Static and Blazor Maui

Hi there,

I wonder whether I can use Radzen components in Blazor Static (Multipage) and / or Blazor MAUI ? If so is there a description How To ?

Thanks

Not sure what is Blazor Static however a lot of our customers are using Radzen.Blazor components in MAUI - the WASM getting started instructions are valid for MAUI too.

Thank you ! In the coming days I will try it out.

Blazor Static is the youngest member of the Blazor family, born with .Net 8. Its the successor of Razor Pages (Multipage) with similar syntax to the other Blazor versions.

I am trying to find a way to create an app once, and then its working on all Blazor versions (Server, WebAssembly, Auto(Universal), MAUI, Desktop (WPF) and Static).

If you mean static rendering mode - no, most Radzen.Blazor components (as well as most third party ones) need interactivity. We have mentioned this in the getting started instructions too:

Yes, I saw that, but its not immediately clear what "All interactive features ..." exactly means. I thought, maybe its just needed for the more complex components.

With WebAssembly there is wasm code in the browser, with Interactive Server there is ongoing communication with the Server, with Maui or WPF there is the .Net runtime in the background, but with Static all the interactivity needs to be programmed in javascript (plus sometimes a complete roundtrip to the server).

Its a tricky situation: in order to have components working interactive and static mode every component needs to have 2 ways of interaction: code behind with C# AND javascript AND a way to switch off the java script in interactive modes.

Are you planning to do this in the future ?

Even in Blazor Static there is a feature called Enhanced Navigation which doesn’t need a complete reload/rerendering, so potentially there is a way to avoid javascript in some situations.

No, we don’t plan plain JavaScript components nor JavaScript only functionality to our existing components.

The more I am thinking things through the more I understand why you don’t do it !

Thanks for answering my questions!