Hi guys,
I need to hide the address bar and do the same thing as in switches that window.open uses in its last argument, the window features. e.g.:-
var
windowFeatures = "toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes";window.open("http://www.yahoo.com", "myWindow", windowFeatures);
Instead of the code above, I want to control the window features using the code behind in my aspx page. Could somebody help Please email me at ranjit.gill@gmail.com
thanks,
Ranjit

Need to hide address bar through my aspx page(C#)
JGP
Hi Ranjit,
In IE6 SP1, IE6 SP2 and IE7 there are user settings that will stop you doing this, as hiding the address bar (or altering the url in the address bar) is commonly used in phishing schemes to deceive the user about the validity of a web page (by hiding or altering the address shown in the address bar.
Firstly - Security setting - 'Allow scripting of the WebBrowser Control' - prevents you from using the showbrowserbar or ExecWB methods, unless the user has chosen to enable this setting. (applies to all versions of IE6 & 7).
Secondly - There is a setting to display the Address bar and status bar in popup windows (showModalwindow and showModelesswindow) that will foil any attempt to hide the address bar (and true address) by using any of those open methods.
If you can live with a completely chrome window then use the createpopupwindow method.
Note that this applies to MSIE browsers only.
Oh you could try using a hta page i/o a htm or aspx, but thats a completely different beast.
Regards.