Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
104
rated 0 times [  105] [ 1]  / answers: 1 / hits: 18500  / 15 Years ago, thu, may 21, 2009, 12:00:00

I have a 2.0 framework ASP.Net page that runs in our controled environment (IE 7).
The dialogWidth property seems not to be working. The scrip is as follows:



var win = window.showModalDialog ('Page.aspx', 'PopupPage', 'dialogHeight:600px,dialogWidth:800px,resizable:0');


The dialogHeight works fine but no matter what I change the dialogWidth to - it seems to be limited to a width of about 250px. In the configuration above the modal popup is higher that it is wide - even though width is 800 and height is 600.


More From » asp.net

 Answers
24

Try this:



var returnValue = window.showModalDialog(sUrl,'','unadorned:yes;resizable:1;
dialogHeight:550px;dialogwidth:985px;scroll:no;status=no');


Someone I work with had the same problem, and this fixed his problem...


[#99479] Tuesday, May 19, 2009, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
leog

Total Points: 225
Total Questions: 113
Total Answers: 118

Location: Oman
Member since Wed, Apr 12, 2023
1 Year ago
;