Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. context.Response.Redirect(ConfigurationManager.AppSettings["URL"] + ext );
  2.  
  3. response.write("<script>");
  4. response.write("window.open('page.html','_blank')");
  5. response.write("</script>");
  6.  
  7. Response.Write("<script>window.open('http://www.somesite.com/','_blank');</script>");
  8.  
  9. <asp:Button runat="server" ID="cmd_Test" onclientclick="window.open('YourUrl')" />
  10.  
  11. protected void Page_Load (object sender, EventArgs e)
  12. {
  13. lnkViewPage.NavigateURL = sURL;
  14. lnkViewPage.Target = "_blank";
  15. }
  16.  
  17. Response.Write("<script>window.open('page.html','_blank')</script>");
  18.  
  19. hyperlink1.Attributes.Add("onclick", "window.open(http://www.mylink.com?sessionvar1=" + someValue + "',null,'height=251px, width=600px,status=no, resizable=no, scrollbars=no, toolbar=no,location=no,menubar=no ');");
  20.  
  21. Response.Write("<script>")
  22. Response.Write("window.open('NewPage.aspx','_blank','resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,location=no')")
  23. Response.Write("</script>")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement