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 am trying to open a modal window through a custom context menu item, at the moment I have this and it stops rendering the trees when I run it:
public string JsFunctionName { get { return "openModal('open_multiLang.aspx', 'Copy all content?', 540, 620);"; } // + string.Format("{0}.actionNew()", ClientTools.Scripts.GetAppActions) openModalWindow('open_multiLang.ascx', 'Copy all content?', 540, 620); }
}
Sorted. I should have been calling it as a function:
public string JsFunctionName
{
get { return "func()"; }
public string JsSource
get
return "function func(){UmbClientMgr.openModalWindow('../open_multiLang.aspx', 'Copy all content?', 540, 620, 250, 250);};";
; }
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
What is the syntax for opening a modal popup in the back office?
I am trying to open a modal window through a custom context menu item, at the moment I have this and it stops rendering the trees when I run it:
Sorted. I should have been calling it as a function:
public string JsFunctionName
{
get { return "func()"; }
}
public string JsSource
{
get
{
return "function func(){UmbClientMgr.openModalWindow('../open_multiLang.aspx', 'Copy all content?', 540, 620, 250, 250);};";
; }
}
}
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.