Click here to Skip to main content
15,885,904 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

For hide the address bar i use location=no , but it is not supported for all browser.

Code snippet is:

BtnCreateEdit.Attributes.Add("onclick", "window.open('XVZ.aspx',null,'left=400, top=100, height=320, width= 620, status=no, minimizable=no , resizable= no, scrollbars= no, toolbar= no, location=no , menubar= no');")

It is working for IE only but it should be work in all browser.

so please give me any alternate solution or same solution.

Thanks
Shubham Gupta
Posted
Comments
Kornfeld Eliyahu Peter 22-Jul-15 3:04am    
All those parameters in the open method are not standard, and for that not supported by most...
What do you want to achieve by hiding the address bar?
Member 11449483 22-Jul-15 4:49am    
This is my client requirement, client not want to see the new window address bar because when we copy address and paste in next tab and another where you want. it is open directly.
But it is totally wrong. because my new window size is 620x320.
Kornfeld Eliyahu Peter 22-Jul-15 4:51am    
And that's because there are parameters on the address - query string?
Member 11449483 22-Jul-15 5:42am    
no, there are no any parameters on the address bar- query string only session value for login user must be maintain.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900