Click here to Skip to main content
15,922,574 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
ImageButton1.Attributes.Add("OnClick", "window.open('utsav.aspx',null,'width=515,height=460,resizable=No,menubar=0,toolbar=no,scrollbars=no ');");



ImageButton1 on click open pop_op window this window hide maximize button
This code is not working properly in ASP.NET.

How to hide maxmize button?

Please tell me how to hide maxmize button in ASP.NET.
Posted
Updated 2-Jan-11 23:33pm
v3

These buttons are part of the browser's GUI. They cannot be hidden by JavaScript. Any browser that would allow for that would not last very long, because the users would not acccept this behavior. This feature would definitely be misused by dodgy websites.

Best Regards,
Manfred
 
Share this answer
 
v2
Comments
vivekanand786 3-Jan-11 5:44am    
thanks
Try titlebar or resizeable property!

Have a look at this for full detail: Window.open Method[^]
 
Share this answer
 
v2
Comments
Manfred Rudolf Bihy 3-Jan-11 5:49am    
Down vote compensated. Good link! 5+

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