Dear Team,
I am looking into the possibility to show a dialog via a capsulated service (DialogService.Show<DialogType>(...) ) but because the dialogs are only made visible they have to be in place. I managed to do this via a DynamicComponent, but I would like to inject the dialog dynamically into the dom. I have no idea how to do that though. In WPF f.e. I can add a new object into the tree at any given place. Is this not possible in Blazor?
Would love to get some support on putting such a service for showing a dialog just by a given type from an injected "Service".
Thanks for your help and best regards
Gerrit Puddig
I am looking into the possibility to show a dialog via a capsulated service (DialogService.Show<DialogType>(...) ) but because the dialogs are only made visible they have to be in place. I managed to do this via a DynamicComponent, but I would like to inject the dialog dynamically into the dom. I have no idea how to do that though. In WPF f.e. I can add a new object into the tree at any given place. Is this not possible in Blazor?
Would love to get some support on putting such a service for showing a dialog just by a given type from an injected "Service".
Thanks for your help and best regards
Gerrit Puddig
Just found the WindowAsAService Sample which may do what I am looking for (GitHub). Will check...