开发者

To hide the addressbar,standardbar in asp.net from codebehind

开发者 https://www.devze.com 2023-01-22 16:51 出处:网络
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 anyo

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消