FineUI subpages operating parent page JS

Server-side code

 PageContext.RegisterStartupScript("setTimeout(function(){ F.getActiveWindow().window.reload() }, 2000);");//延时函数  ,reload()是父页面的函数

JS-side code

  var activeWindow = F.getActiveWindow();
            activeWindow.hide();
            activeWindow.window.reload();

Guess you like

Origin www.cnblogs.com/Alex-Mercer/p/12299909.html