Ejemplo n.º 1
0
        public void OpenPageInNewWindow(FormResources page, string parameters)
        {
            string newWindowParams = "resizable=yes,scrollbars=yes,menubar=no,status=no,width=1024,height=1000,location=no,toolbar=no,fullscreen=no";

            ScriptManager.RegisterStartupScript(this.Page,
                                                this.Page.GetType(),
                                                "OpenNewWindow",
                                                "<script type=\"text/javascript\" language=\"javascript\">" +
                                                ETEMModel.Helpers.BaseHelper.JS_SCRIPT_POPUP_PAGE(page.PagePath, parameters, newWindowParams) +
                                                "</script>",
                                                false
                                                );
        }
Ejemplo n.º 2
0
 public void OpenPageInNewWindow(FormResources page)
 {
     OpenPageInNewWindow(page, string.Empty);
 }
Ejemplo n.º 3
0
        public void OpenPageInNewWindow(FormResources page, string parameters)
        {
            string newWindowParams = "resizable=yes,scrollbars=yes,menubar=no,status=no,width=1024,height=900,location=no,toolbar=no,fullscreen=no";

            ScriptManager.RegisterStartupScript(
                                                this.Page,
                                                this.Page.GetType(),
                                                "OpenNewWindow",
                                                "<script type=\"text/javascript\" language=\"javascript\">" +
                                                ETEMModel.Helpers.BaseHelper.JS_SCRIPT_POPUP_PAGE(page.PagePath, parameters, newWindowParams) +
                                                "</script>",
                                                false
                                                );
        }
Ejemplo n.º 4
0
 public void OpenPageInNewWindow(FormResources page)
 {
     OpenPageInNewWindow(page, string.Empty);
 }