Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

In IE7 ShowModalDialog windows don't refresh content while resizin

microsoft.public.internetexplorer.general






Speedup My PC
Reply
  #1 (permalink)  
Old 09-25-2008
Vincent Guilbaud
 

Posts: n/a
In IE7 ShowModalDialog windows don't refresh content while resizin
The problem exists only with IE 7.
It works for IE 6 and Firefox 3

Steps to reproduce the bug:
1 - Create a popup window in javascript through ShowModalDialog (...)
2 - Resize the modal dialog window just created

=> The content (HTML elements) in the modal window doesn't stretch to the
size of the window.
For example a simple DIV tag:
<DIV style='width:100%;background-color:red'>I don't stretch</DIV>
stays always the same width.

For now, my workaround is to trap the onresize event and manually resize the
elements inside. But this is laborious...
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-30-2008
Vincent Guilbaud
 

Posts: n/a
RE: In IE7 ShowModalDialog windows don't refresh content while resizin
Does anyone experience the same problem or is it only me?

Thx,

"Vincent Guilbaud" wrote:

> The problem exists only with IE 7.
> It works for IE 6 and Firefox 3
>
> Steps to reproduce the bug:
> 1 - Create a popup window in javascript through ShowModalDialog (...)
> 2 - Resize the modal dialog window just created
>
> => The content (HTML elements) in the modal window doesn't stretch to the
> size of the window.
> For example a simple DIV tag:
> <DIV style='width:100%;background-color:red'>I don't stretch</DIV>
> stays always the same width.
>
> For now, my workaround is to trap the onresize event and manually resize the
> elements inside. But this is laborious...

Reply With Quote
  #3 (permalink)  
Old 10-03-2008
jorisbijnenswork@googlemail.com
 

Posts: n/a
Re: In IE7 ShowModalDialog windows don't refresh content whileresizin
On 30 sep, 20:33, Vincent Guilbaud
<VincentGuilb...@discussions.microsoft.com> wrote:
> Does anyone experience the same problem or is it only me?
>
> Thx,
>
>
>
> "Vincent Guilbaud" wrote:
> > The problem exists only with IE 7.
> > It works for IE 6 and Firefox 3

>
> > Steps to reproduce the bug:
> > 1 - Create a popup window in javascript through ShowModalDialog (...)
> > 2 - Resize the modal dialog window just created

>
> > => The content (HTML elements) in the modal window doesn't stretch to the
> > size of the window.
> > For example a simple DIV tag:
> > <DIV style='width:100%;background-color:red'>I don't stretch</DIV>
> > stays always the same width.

>
> > For now, my workaround is to trap the onresize event and manually resize the
> > elements inside. But this is laborious...- Tekst uit oorspronkelijk bericht niet weergeven -

>
> - Tekst uit oorspronkelijk bericht weergeven -


Hello,

I had the same problem, but my popup page was using a frameset in
which the requested page was loaded.
Check out the following page, which solved my problem by removing the
frameset
http://blogs.msdn.com/vbertocci/arch...6/05/8319.aspx

Regards,

Joris
Reply With Quote
  #4 (permalink)  
Old 10-03-2008
Vincent Guilbaud
 

Posts: n/a
Re: In IE7 ShowModalDialog windows don't refresh content while res
For what I read at:
http://blogs.msdn.com/vbertocci/arch...6/05/8319.aspx
this is not at all the same problem.

I am aware of the issue of posting requests from a popup modal dialog and
the possible workarounds.

But my problem here is simply that the width of a modal dialog doesn't change.

The modal is created from something like:
window.showModalDialog('modal.htm', null,
"dialogHeight:200px;dialogWidth:350px;resizable:1; scroll:0");

and defined like:
<html>
<head>
<title>My Modal Dialog</title>
</head>
<body style="width:100%;height:100%">
<div style="background-color:Red;height:100%;width:100%">I don't
stretch</div>
</body>
</html>


"jorisbijnenswork@googlemail.com" wrote:

> On 30 sep, 20:33, Vincent Guilbaud
> <VincentGuilb...@discussions.microsoft.com> wrote:
> > Does anyone experience the same problem or is it only me?
> >
> > Thx,
> >
> >
> >
> > "Vincent Guilbaud" wrote:
> > > The problem exists only with IE 7.
> > > It works for IE 6 and Firefox 3

> >
> > > Steps to reproduce the bug:
> > > 1 - Create a popup window in javascript through ShowModalDialog (...)
> > > 2 - Resize the modal dialog window just created

> >
> > > => The content (HTML elements) in the modal window doesn't stretch to the
> > > size of the window.
> > > For example a simple DIV tag:
> > > <DIV style='width:100%;background-color:red'>I don't stretch</DIV>
> > > stays always the same width.

> >
> > > For now, my workaround is to trap the onresize event and manually resize the
> > > elements inside. But this is laborious...- Tekst uit oorspronkelijk bericht niet weergeven -

> >
> > - Tekst uit oorspronkelijk bericht weergeven -

>
> Hello,
>
> I had the same problem, but my popup page was using a frameset in
> which the requested page was loaded.
> Check out the following page, which solved my problem by removing the
> frameset
> http://blogs.msdn.com/vbertocci/arch...6/05/8319.aspx
>
> Regards,
>
> Joris
>

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Explorer does not refresh its screen automatically Peter K. Livingston microsoft.public.windows.vista.general 3 04-03-2010 03:09
refresh Windows Explorer via navigation keys? Rick microsoft.public.windows.vista.general 4 04-20-2008 14:44
Announcing Microsoft Assessment and Planning Beta Refresh for Windows Vista & Windows Server 2008 Paul Windows Vista Team Blog 0 01-28-2008 05:10
Refresh Rate in Windows Vista- HL2? CS:S? HELP. brinkk microsoft.public.windows.vista.general 3 09-03-2007 20:26
Windows Explorer auto-refresh? Jenn microsoft.public.windows.vista.general 0 03-05-2007 06:49




All times are GMT +1. The time now is 05:15.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120