Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have tried adding a "literal" with some javascript but to no avail. At the moment my code looks like this:
if (cur != null) cur.ClientTools.ChangeContentFrameUrl(returnUrl).CloseModalWindow(); closeModalJs.Text = "<script type=\"text/javascript\">\n UmbClientMgr.closeModalWindow()\n</script>";
For some examples you can have a look at the DAMP source code. Remember that UmbClientMgr.closeModalWindow() only works if your page (even an iframe) has the following masterpage:
MasterPageFile="../../masterpages/umbracoDialog.Master"
Jeroen
Thanks again! Tomorrow is the last day of my intern-ship so I really can't thank you enough!
Is there any way to close it without it inheriting from umbracoDialog?
Sorted it, thanks =D
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Modal window won't close
I have tried adding a "literal" with some javascript but to no avail. At the moment my code looks like this:
For some examples you can have a look at the DAMP source code. Remember that UmbClientMgr.closeModalWindow() only works if your page (even an iframe) has the following masterpage:
Jeroen
Thanks again! Tomorrow is the last day of my intern-ship so I really can't thank you enough!
Is there any way to close it without it inheriting from umbracoDialog?
Sorted it, thanks =D
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.