Click here to Skip to main content
11,717,570 members (81,910 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET Javascript
how to disable minimize button in , i can't use showmodal dialog,

Posted 4-Feb-13 2:51am
Irbaz Haider Hashmi at 4-Feb-13 9:01am
You can't.
aspnet_regiis -i at 4-Feb-13 9:04am
Not possible and not advisable.. Leave it to the user .. He will either minimize it or close it.. Be careful...If you force the user to view your website, then he will add your website to blocked list..
Krunal Rohit at 4-Feb-13 9:12am
Not possible
Krunal Rohit at 4-Feb-13 9:15am
Try"url","windowname", "toolbar=no,menubar=no");
but it will remove all borders

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Well, if your users are more IE centric, then you can achieve this using the HTA (HTML Application extension). Search for .HTA pages (in MSDN) to learn how to convert your web page to .HTA page. Then, you will get full control on the browser window - even a complete frameless window (no borders, no toolbars, no title bar) plus the facility of invoking all ACTIVE-X controls without any kind of security alerts !!!

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 719
1 OriginalGriff 215
2 F-ES Sitecore 210
3 Maciej Los 140
4 Jochen Arndt 120
0 Sergey Alexandrovich Kryukov 1,494
1 OriginalGriff 535
2 Maciej Los 529
3 Richard MacCutchan 440
4 CHill60 415

Advertise | Privacy | Mobile
Web01 | 2.8.150901.1 | Last Updated 4 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100