Summary of various ways to open a new page
[0] The most common open method
Respose. Write ("<script language = 'javascript '> window. Open ('" + URL + "'); </SCRIPT> ");
[1] switch directly to the new page, and the original window is replaced;
Response. Redirect ("XXX. aspx", true)
[2] The original window is retained, and a new page is added;
Response. Write ("<SCRIPT> window. Open ('xxx. aspx ',' _ blank ') </SCRIPT> ")
[3] open a new page, and the original window is replaced;
Response. Write ("<SCRIPT> window. Location = 'xxx. aspx '</SCRIPT> ")
[4] open a new page;
Server. Transfer ("XXX. aspx ")
Note: It is often used for page jumps that pass session variables!
[5] The original window is retained and a new window is opened in a dialog box;
Response. Write ("<SCRIPT> window. showmodelessdialog ('xxx. aspx ') </SCRIPT> ")
[6] dialog box to open a new window, the original window is replaced;
Response. Write ("<SCRIPT> window. showmodeldialog ('xxx. aspx ') </SCRIPT> ")
[7] Open a concise window
Respose. write ("<script language = 'javascript '> window. open ('"+ URL +"', '', 'resizable = 1, scrollbars = 0, status = 1, menubar = No, toolbar = No, location = No, menu = no'); </SCRIPT> ");
At first, I used system. diagnostics. process. start ("C:/Documents and Settings/Administrator/My Documents ents/Visual Studio 2008/websites/fckpro/system administrator. aspx "); to generate a new page, so it is not possible to achieve the jump, but to call Dreamweaver in my book to open this page. The system administrator. ASPX page can only be redirected after the URL is pasted, but I have not executed it yet. How can I have a URL? Therefore, you cannot use it to create a new tab. This function creates a new process to open a new program. You can also jump to a page pointed to by a URL. If you replace it with www.sohu.com in quotation marks, the page will jump to the Sohu homepage.