Response.Redirect open new window

Posted on: Thu May 06 18:27:48 -0700 2010. Updated on: Thu May 06 18:27:48 -0700 2010.
Category: DotNet

Sometimes we need a button action or something during the postback to pop open a new window / tab using the very known Response.Redirect. This is easy to do, simply add OnClientClick="aspnetForm.target ='_blank';" in the button's property.

Find out more at this site: http://dotnetchris.wordpress.com/2008/11/04/c-aspnet-responseredirect-open-into-new-window/

Comments:

Add a Comment:

simple_captcha.jpg
(human authentication)


Ads

Categories

About

Random foliage

This website is meant to be a reference for ASP Dot Net developers. The entries are a compilation of things I've figured out how to do and that I deem useful to keep of track for future reference. Assumptions: web development with: C Sharp (vb sucks), visual studio 05/08, .net 3.5, meant for programmers. Written by: James Reategui.