To hide the addressbar,standardbar in asp.net from codebehind
in my application am loading my firstpage from star开发者_C百科tpage in codebehind by Response.redirect and here i need to hide the addressbar and standardbar of that firstpage while loading .can anyone help for this.Note:the firstpage is masterpage content.
These are things that are on the browser and as such can't be directly controlled by server side code (i.e. code behind).
You will need to emit some javascript to open the window with your specification. If the window you are redirecting in, already has the address bar etc..., there isn't much you can do to change the appearance.
Here is a good overview of how window.open
works in javascript.
精彩评论