-
Mar 12th, 2014, 02:10 PM
#1
Thread Starter
Fanatic Member
[help] modal window is not maximizing
Hi,
I happen to need this modal window to appear in height and width to be as large as a standard webform... I placed settings in the showdialog function for specific height and widths and nothing happened it maintained the size of a small dialog window with scroll bars vertical ones.
so far this is my javascript code behind the c#
Code:
<script type="text/javascript">
var childwindow ;
function ShowDialog() {
childwindow = window.showModalDialog("CriticalIncidentReport.aspx", 'center: yes;resizable: yes ;status:0;state:maximize');
}
</script>
this is the c# code behind the button click event
Code:
protected void myBtn_Click(Object sender,
EventArgs e)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "JScript", "ShowDialog();", true);
}
Any ideas guys as to how to proceed because seeing the form open with scroll bars and centered on the screen has been immensely frustrating for the last day or two ?
Last edited by Christopher_Arm; Mar 12th, 2014 at 02:55 PM.
-
Mar 14th, 2014, 12:54 AM
#2
Re: [help] modal window is not maximizing
Moved from C#
@Christopher: I have moved your thread to Asp.net forum where you are more likely to apt replies
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread "Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Mar 14th, 2014, 01:54 AM
#3
Re: [help] modal window is not maximizing
Haven't seen something with .ShowModalDialog.
Anyhow with the remark that this is not user friendly, take a look here:
http://stackoverflow.com/questions/1...ith-javascript
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Mar 17th, 2014, 08:25 AM
#4
Thread Starter
Fanatic Member
Re: [help] modal window is not maximizing
What I realized is two things a) the Firefox version of the modal opens up just fine.. it is the IE version that does not and consequently the development team uses an Infragistics modal window for that piece of the code. There is some embedded code that is tripped up at run time within the IE browser that shows it in the the minimized way with scroll bars like I described.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|