Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
function SelectLink(postbackCtrlId, href, target, title, text,index)
{
var url = 'Util/dialogs/HyperlinkProperties.aspx';
var returnvalue;
var linkAttributes = new Object();
linkAttributes.href = href;
linkAttributes.target = target;
linkAttributes.language = "";
linkAttributes.title = title;
linkAttributes.text = text;
//linkAttributes.imageObject = imageAttributes;
linkAttributes.imageDialogUrl = "";
linkAttributes.fileManagerBrowserUrl = "";
linkAttributes.resizeDialogUrl = "";
linkAttributes.parentWindow = window;
linkAttributes.fileManagerBrowserUrl = "FileManagerBrowser.aspx?";
url += "?epslanguage=" + linkAttributes.language;
url += '&url=' + encodeURIComponent(linkAttributes.href);
returnValue = OpenDialog(url, linkAttributes, 445, 412);
...
}
function OpenGetPageDialog()
{
document.getElementById('PageAddValue').value = "";
document.getElementById('PageAddText').value = "";
EPi.CreatePageBrowserDialog('<%= EPiServer.UriSupport.ResolveUrlFromUIBySettings("edit/pagebrowser.aspx") %>','','False','False','PageAddText','PageAddValue','en', PageDialogClosed);
}
function PageDialogClosed(returnValue, callbackArguments) {
if (document.getElementById('PageAddValue').value.length > 0) {
// document.getElementById('PageAddValue') contains the PageId
AddPage(document.getElementById('PageAddText').value, document.getElementById('PageAddValue').value);
}
}
and then i have two hidden (PageAddText and PageAddValue) that will recive the selected page.
I think it's the second argument (where I have '') that is the selected page.