|
Rank: Member Groups: Member
Joined: 2/6/2009 Posts: 26
|
Hi, I'm finding that if you display an eo:Dialog, or any size, then (while the dialog is displayed) you resize the window (make it larger or smaller) and then close the dialog you can end up with scrollbars in the main IE browser window... even if there wasn't scrollbars there before. Sometimes you have to resize the main IE browser window for the scrollbars to appear but they appear... even when they shouldn't. It's as if there's some content left over when the dialog is closed. Even simpler: If you resize the browser so that the dialog will be bigger than the browser window, when the dialog opens you get scrollbars in the browser, as expected. Close the dialog and the scrollbars are still there. Works fine in Google Chrome.
Code: HTML/ASPX
<eo:Dialog BorderColor="Black" BorderWidth="1" ID="Dialog1" runat="server" BackColor="White"
Height="200px" Width="300px">
<ContentTemplate>
This is the content
</ContentTemplate>
</eo:Dialog>
<a href="javascript:void eo_GetObject('Dialog1').show(true);">Show Dialog</a>
Any ideas? My EO.Web.dll version is 8.0.60.2. Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You may want to try out with the latest version. We have been unable to reproduce this problem with the latest version.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 2/6/2009 Posts: 26
|
I've tried latest version, still the same.
Maybe I didn't explain it well enough... Is it possible to send you an avi file of what's happening?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Can you create a complete test project and then send the test project to us along with detailed step by step instructions on how to reproduce the problem? AVI doesn't help much because what's important is to reproduce the problem.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, We have looked into the sample code you sent to us and confirmed this to be a bug. We will fix this in our next build. You can also apply the following workaround:
Code: JavaScript
function on_dialog_close()
{
var dlg = eo_GetObject("Dialog1");
if (dlg.anq)
dlg.anq.style.display = "none";
}
Code: HTML/ASPX
<eo:Dialog ClientSideOnEnd="on_dialog_close" .....>
....
</eo:Dialog>
Note this workaround only works for your build (8.0.60.2). However as soon as we fix this on our side, you will no longer need the above code. Thanks!
|
|
Rank: Member Groups: Member
Joined: 2/6/2009 Posts: 26
|
Workaround worked fine for me. Thanks for that.
Will the fix be in an 8 (2010) build or just a 9 (2011) build?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The fix will be in the current (2011) version.
Thanks!
|
|