473,402 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

showModalDialog issues

I'm trying to use the showModalDialog window opener and for some reason even
though I have these set to no (an dI've tried 0 and false) the window still
shows them. Why? The window opens ok. I see scroll bars, status, and the help
button. But the size is correct and it's sunken and not resizable.
?????????????

companyadd.Attributes.Add("onclick",
"window.showModalDialog('company_add.aspx','dialog Height:400px;
dialogWidth:500px; scroll:no; help:0; resizable:no; center:yes; edge:sunken;
status:no')")

thanx.
Nov 18 '05 #1
3 3489
xp-sp2 prevents turning off the statusbar, titlebar and several of the
buttons.

-- bruce (sqlwork.com)
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:8A**********************************@microsof t.com...
| I'm trying to use the showModalDialog window opener and for some reason
even
| though I have these set to no (an dI've tried 0 and false) the window
still
| shows them. Why? The window opens ok. I see scroll bars, status, and the
help
| button. But the size is correct and it's sunken and not resizable.
| ?????????????
|
| companyadd.Attributes.Add("onclick",
| "window.showModalDialog('company_add.aspx','dialog Height:400px;
| dialogWidth:500px; scroll:no; help:0; resizable:no; center:yes;
edge:sunken;
| status:no')")
|
| thanx.
Nov 18 '05 #2
Are you sure? I would think that this is browser revision dependent. I'm also
using Win2k not XP.
I would think that there would be a MS Article on this??

Thanx.

"bruce barker" wrote:
xp-sp2 prevents turning off the statusbar, titlebar and several of the
buttons.

-- bruce (sqlwork.com)
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:8A**********************************@microsof t.com...
| I'm trying to use the showModalDialog window opener and for some reason
even
| though I have these set to no (an dI've tried 0 and false) the window
still
| shows them. Why? The window opens ok. I see scroll bars, status, and the
help
| button. But the size is correct and it's sunken and not resizable.
| ?????????????
|
| companyadd.Attributes.Add("onclick",
| "window.showModalDialog('company_add.aspx','dialog Height:400px;
| dialogWidth:500px; scroll:no; help:0; resizable:no; center:yes;
edge:sunken;
| status:no')")
|
| thanx.

Nov 18 '05 #3
There should be one more parameters between the url and features:

window.showModalDialog('company_add.aspx','','dial ogHeight:400px;dialogWidth
:500px; scroll:no; help:0; resizable:no; center:yes; edge:sunken;
status:no');

Eliyahu

"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:8A**********************************@microsof t.com...
I'm trying to use the showModalDialog window opener and for some reason even though I have these set to no (an dI've tried 0 and false) the window still shows them. Why? The window opens ok. I see scroll bars, status, and the help button. But the size is correct and it's sunken and not resizable.
?????????????

companyadd.Attributes.Add("onclick",
"window.showModalDialog('company_add.aspx','dialog Height:400px;
dialogWidth:500px; scroll:no; help:0; resizable:no; center:yes; edge:sunken; status:no')")

thanx.

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Simon Storr | last post by:
Is it possible to make the parent window refresh when a modal dialog is closed? I know I can use window.opener.location.reload(true); for a 'normal' window, but this doesn't work for...
6
by: Scott Lee | last post by:
I am displaying an ASP.Net generated form in a popup opened with window.showModalDialog. The form contains DropDownList controls. The first ddl is populated via databinding to a datatable, has...
4
by: MW de Jager | last post by:
I want to call ShowModalDialog(...) from my C# code in the code behind page of my aspx page. I do not want to link this to a button, since I want to first do some checking myself before I call the...
10
by: luna | last post by:
im playing around with showmodeldialog, and the child window isnt returning the variable to the parent in the parent i have Button2.Attributes.Add("onclick", "var strReturn;...
3
by: johkar | last post by:
Just want a verification of logic. This seems to work for IE and Firefox, but I wonder if it would be a problematic test in any of the other latest browsers? Is the use of the "window" object...
1
by: Satya | last post by:
Hello, I am using ShowModalDialog to display modal dialog in our application. I am displaying modal dialog (WebForm1.aspx - DropdownList's ,TextBox's and Ok and Cancel buttons placed on it) from...
6
by: David | last post by:
Hi all, I am opening a webform with showModalDialog. This appears to pop-up fine, though I have a problem... Inside the webform is a treeview control. When the treeview is populated, I am...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.