Dear all,
I working on .NET 10 application using Radzen latest version 11.2.6, which run as InteractiveServer mode.
Inside the MainLayout.razor:
<RadzenComponents @rendermode="InteractiveServer" />
I occur a strange issue about DialogService, if I set the DialogService rendermode to InteractiveServer explicitly,
<RadzenDialog @rendermode="RenderMode.InteractiveServer" />
I found that all pure html element will render as virtual dom, eventully the javascript can’t be manipulate with the element (get value, addEventListener etc).
But if i remove the @rendermode="RenderMode.InteractiveServer" or just remove the whole tag, the side dialog and javascript are works,
@inherits LayoutComponentBase
<RadzenComponents @rendermode="InteractiveServer" />
<RadzenDialog @rendermode="RenderMode.InteractiveServer" />
@* Remove @rendermode="RenderMode.InteractiveServer" or whole RadzenDialog tag, the button click will work.*@
@Body
- The page and components stay InteractiveServer mode
- The pure html element stay untouch.
My question is, for best practice, is it necessary place a on layout file?
and Radzen make pure html element turn to VDom, does this behavior is by design or kind of bug?
I had push the source code to bitbucket -
Thanks you