|
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>
|
|
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
|
|
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!
|
|
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.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great. Thanks for confirming the fix!
|
|
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.
|
|
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!
|
|
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!
|
|
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!
|
|
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!
|
|