Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET Javascript
how to disable minimize button in window.open , i can't use showmodal dialog,
 
thanks,,,
Posted 4-Feb-13 3:51am
Comments
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 window.open("url","windowname", "toolbar=no,menubar=no");
but it will remove all borders

1 solution

Rate this: bad
good
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 !!!
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 299
1 Maciej Los 295
2 Sergey Alexandrovich Kryukov 230
3 Aajmot Sk 191
4 Sinisa Hajnal 166
0 OriginalGriff 7,760
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,785


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 4 Feb 2013
Copyright © CodeProject, 1999-2014
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