function OpenChildWindow(value,pagename) { //open a new dialog window try { var sFeatures="dialogHeight: 500px;"; sFeatures += "titlebar :no"; sFeatures += "dialogWidth: 600px;"; sFeatures += "right: yes;"; sFeatures += "edge: sunken;"; sFeatures += "scroll: no;"; sFeatures += "status: yes;"; sFeatures += "resizeable: no;"; var url = "conntrolsetting.aspx?"; url += "SomeValue=" + value + "&"; url += "spage=" + pagename; entryWindow=window.showModalDialog(url,'ChildForm',sFeatures); if(entryWindow ==true) { //this would trigger the update panels update as the button is part of the UP window.document.getElementById('btnHiddenForUpdate').click(); } else { //No change will happen to the parent page as child page did nothing window.document.getElementById('btnHiddenForUpdate').click(); } } catch(e) { } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)