Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how i hide minimize, maximize and close button in a web page in asp.net using c#
Posted
Comments
Johnny J. 8-Apr-15 6:46am    
What are you talking about? There are no minimize, maximize and close buttons in a web page. Do you mean Winforms/WPF or are you drunk? :-)

You can't do that in asp.net c# because that is server side. You could try creating an iFrame. Check this link for more info:
http://www.javascripttoolbox.com/lib/dragiframe/[^]

Good luck!
 
Share this answer
 
As has been mentioned C# is server side, and it has no control over the Client side browser - which is the application which has the buttons, if any. And you can't hide the browser buttons, because nothing your code or script can do is allowed to affect the actual application that the user is running - you don't even know that it's a Windows browser that is running - it could be a WebBrowser control within an application, Chrome on Android, or running on a iPhone or internet enabled fridge!

And even if you could get rid on the buttons on my current browser specifically, I can minimise it, close, or maximize it without needing them on a Windows machine anyway!

So whatever it is you are trying to do, forget it - it isn't going to work!
 
Share this answer
 

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