Have module open popup or isolate module on page after a trigger

41 Views Asked by At

Is there a way to have a SPA module open in a dialog or to isolate it on the page where it is loaded from after a button click? Preferably isolate it on a page, but either option will work.

1

There are 1 best solutions below

1
On

You could perhaps use the DNN modals for that?

<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="http://dnndev.me/testpage">HyperLink1</asp:HyperLink>

And then create the popup code url in code behind

HyperLink1.Attributes.Add("onclick", "return " + UrlUtils.PopUpUrl(HyperLink1.NavigateUrl, this, PortalSettings, true, false));