Users Pricing

forum

Home Forums Open a new window from codebehind C# with window.open – MindStick

Open a new window from codebehind C# with window.open

Anonymous User 2388 29 Jan 2014

I want to open a new windowand I have tried window.open

string url = "../Printticket.aspx";
       string fullURL = "window.open('" + url + "', '_blank', 'height=600,width=1000,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,titlebar=no' );";
        ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", fullURL, true);
when i tried this from the samefolder which the print ticket ,is there I am getting it right but when i tried it from the different folder iam not getting popup

Please Help.

1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md