Embed Webcontainer Into Webdialog


I try to embed a Webcontainer at runtime to WebDialog (Modal)

I call the embedWithin method in the shown event of the webDialog.

But the Webcontainer isn’t placed into the Dialog, its placed next to the dialog in DOM. Result is, that I can’t align it into to container properly. And on resizing of the Window, the Container is floating over other controls of the dialog.

How can I add a webcontainer to a webDialog at runtime properly?


Check this