Welcome Guest Search | Active Topics | Sign In | Register

ImageZoom cancels dialog backshade Options
Mark
Posted: Saturday, October 15, 2011 7:49:50 AM
Rank: Member
Groups: Member

Joined: 3/5/2009
Posts: 19
We're using the imagezoom feature within modal dialog boxes. The dialog box also has a backshade color and backshade opacity. When you click on the zoomed image to close it, the dialog's backshade disappears and the dialog box turns modeless. We have a backshade on the imagezoom also, however if that is removed, the dialog's backshade disappears when the image is first zoomed.

I created a small test page that demonstrates this behavior. While the backshade disappearing is just an annoyance, the dialog box turning modeless is an issue. Any help would be appreciated, thanks!

Code: HTML/ASPX
<%@ Page Language="VB" %>
<%@ Register TagPrefix="eo" NameSpace="EO.Web" Assembly="EO.Web" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">
    
    Sub page_load()
        dTest.InitialState = DialogState.Visible      
    End Sub

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
  <form id="form1" runat="server">
    <div>

      <eo:Dialog runat="server" id="dTest" ControlSkinID="None" Height="500px" Width="500" BackColor="#C0C0C0"  CancelButton=btnClose BackShadeColor=Black BackShadeOpacity=70>
        <ContentTemplate>
          <asp:Button runat=server ID=btnClose Text="close" />
          <eo:ImageZoom runat=server ID=iZoom  BigImageUrl="big.jpg" SmallImageUrl="small.jpg"  BackShadeColor=Black BackShadeOpacity=70 />   
       </ContentTemplate>
     </eo:Dialog>
    </div>
    </form>
</body>
</html>
eo_support
Posted: Monday, October 17, 2011 8:54:00 AM
Rank: Administration
Groups: Administration

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

We have confirmed that to be an issue. We will look into it and see what we can do. In the mean time, you may want to avoid using the ImageZoom control inside the dialog.

Thanks
eo_support
Posted: Tuesday, October 18, 2011 4:58:31 PM
Rank: Administration
Groups: Administration

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

We have posted a new build that fixed this problem. Please see your private message for the download location.

Thanks!
Mark
Posted: Tuesday, October 18, 2011 5:21:17 PM
Rank: Member
Groups: Member

Joined: 3/5/2009
Posts: 19
Thanks for the quick response! Just installed and tested the fix and the imagezoom is now working properly and the dialogbox retains it backshade and stays modal when the zoomed image is closed.
eo_support
Posted: Tuesday, October 18, 2011 5:22:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Great. Thanks for confirming the fix!
Mark
Posted: Friday, October 21, 2011 8:16:17 AM
Rank: Member
Groups: Member

Joined: 3/5/2009
Posts: 19
We just found one item that stopped working when we installed the fix. When an editor control is used inside of a User Control and the spell check icon is clicked, we now get the following:

SCRIPT438: Object doesn't support property or method 'aaek'
eo_web.ashx?id=a6c1f7be-a1f5-4d09-ba4a-5480c648ad7d, line 6 character 1352

Sometimes, but not always, we also get a dialog box with the message "function eo_GetObject encountered multiple objects with the same id..."

I tried to isolate the issue, and it seems to only occur when the editor is in a User Control, the editor and spell check work fine when the editor control is on the page itself.
eo_support
Posted: Friday, October 21, 2011 1:41:21 PM
Rank: Administration
Groups: Administration

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

We are not able to reproduce the problem. Can you create a test project that duplicates the problem and send it to us? Please let us know if you need our email address.

Thanks!
Mark
Posted: Friday, October 21, 2011 5:09:53 PM
Rank: Member
Groups: Member

Joined: 3/5/2009
Posts: 19
I've been able to re-create it in a simple project. It seems to be related to the spell checker dialog somehow. Let me know where you would like the code sent, thanks!
eo_support
Posted: Monday, October 24, 2011 10:38:09 AM
Rank: Administration
Groups: Administration

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

We have looked into the test project you sent to us and confirmed it's a bug on .NET 4.0. We will fix it and provide an update build as soon as possible.

Thanks!
eo_support
Posted: Thursday, October 27, 2011 3:55:29 PM
Rank: Administration
Groups: Administration

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

We have posted build 2011.0.31 that should fix this problem. Please see your private message for the download location.

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.