Welcome Guest Search | Active Topics | Sign In | Register

eo:Dialog Internet Explorer Scrollbars Options
Jamie Miller
Posted: Friday, December 2, 2011 11:40:39 AM
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.
eo_support
Posted: Friday, December 2, 2011 3:38:40 PM
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!
Jamie Miller
Posted: Saturday, December 3, 2011 2:45:57 PM
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?
eo_support
Posted: Monday, December 5, 2011 8:22:10 AM
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!
eo_support
Posted: Monday, December 5, 2011 1:40:38 PM
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!
Jamie Miller
Posted: Wednesday, December 7, 2011 3:43:55 AM
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?
eo_support
Posted: Wednesday, December 7, 2011 8:46:46 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

The fix will be in the current (2011) version.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.