Click to See Complete Forum and Search --> : window display question


Charu0306
December 13th, 2006, 10:58 PM
Hello all,
Please let me know how to display a page maximized in ASP.NET. Also,

1. Is using javascript the only way to show a popup in asp.net?
2. I use Response.redirect(url) to redirect to a page with the querystring. How do I use this code to open a new window and not navigate from this window.


Thank You,
Charu.

mcmcom
December 14th, 2006, 01:06 AM
you would put javascript in the pages onload event to maximize the screen.
http://www.boutell.com/newfaq/creating/maximize.html

1. javascript is the only way to show a popup in any web language (that is cross-browser capable)

2. Redirect to a new page you can use the asp:Hyperlink - http://www.experts-exchange.com/Web/Web_Languages/Q_20788214.html

hth,
mcm

Charu0306
December 14th, 2006, 05:32 PM
Thanks for the response. I couldnt see the code for expertsexchange as its a pay site. but I will try out setting the Target value to Blank.

mcmcom
December 14th, 2006, 05:34 PM
the experts exchange site SEEMS like its a pay site but if you scroll WAY down you will see answers!

hth,
mcm

Charu0306
December 14th, 2006, 05:36 PM
Well, thats what I usually do! But, this time it didnt work. They have carefully disabled it for some searches I guess.