Welcome Guest Search | Active Topics | Sign In | Register

Showing a modal Dialog from within a modal Dialog problem Options
MartinW
Posted: Saturday, July 26, 2008 2:27:40 AM
Rank: Newbie
Groups: Member

Joined: 7/26/2008
Posts: 6
When I show a modal dialog from a modal dialog and close the second modal dialog, the first modal dialog does not respond to any further input, ie it is not possible to close the first dialog!

Here's a simple .aspx showing the problem.

Code: HTML/ASPX
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>EO Test</title>
</head>
<body>
    <form id="form1" runat="server">
        <eo:Dialog ID="Dialog1" runat="server" Height="200px" Width="300px" 
            AllowResize="True" BorderColor="#335C88" BorderStyle="Solid" BorderWidth="1px" 
            CloseButtonUrl="00070101" ControlSkinID="None" HeaderHtml="DIALOG 1" 
            MinimizeButtonUrl="00070102" ResizeImageUrl="00020014" 
            RestoreButtonUrl="00070103" ShadowColor="LightGray" ShadowDepth="3">
            <HeaderStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 11px; background-image: url(00070104); padding-bottom: 3px; padding-top: 3px; font-family: tahoma" />
            <FooterStyleActive CssText="background-color: #e5f1fd; padding-bottom: 8px;" />
            <ContentTemplate>
                <a href="javascript:eo_GetObject('Dialog2').show(true);">Show Dialog 2</a>
            </ContentTemplate>            
            <ContentStyleActive CssText="border-top: #335c88 1px solid; background-color: #e5f1fd" />
        </eo:Dialog>
        
        <eo:Dialog ID="Dialog2" runat="server" Height="100px" Width="200px" 
            AllowResize="True" BorderColor="#335C88" BorderStyle="Solid" BorderWidth="1px" 
            CloseButtonUrl="00070101" ControlSkinID="None" HeaderHtml="DIALOG 2" 
            MinimizeButtonUrl="00070102" ResizeImageUrl="00020014" 
            RestoreButtonUrl="00070103" ShadowColor="LightGray" ShadowDepth="3">
            <HeaderStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 11px; background-image: url(00070104); padding-bottom: 3px; padding-top: 3px; font-family: tahoma" />
            <FooterStyleActive CssText="background-color: #e5f1fd; padding-bottom: 8px;" />
            <ContentTemplate>
                DIALOG 2
            </ContentTemplate>            
            <ContentStyleActive CssText="border-top: #335c88 1px solid; background-color: #e5f1fd" />
        </eo:Dialog>
    
        <h1>EO TEST</h1>
        <br />
        <eo:CallbackPanel ID="CallbackPanel1" runat="server" Height="150px" Width="200px">
            <a href="javascript:eo_GetObject('Dialog1').show(true);">Show Dialog</a>
        </eo:CallbackPanel>    
    </form>
</body>
</html>
eo_support
Posted: Saturday, July 26, 2008 3:35:22 AM
Rank: Administration
Groups: Administration

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

I believe this problem has been fixed in our latest build (.26), which you can download from our download page.

Please take a look and let us know it goes!

Thanks
MartinW
Posted: Saturday, July 26, 2008 3:52:44 AM
Rank: Newbie
Groups: Member

Joined: 7/26/2008
Posts: 6
Thanks for the quick reply. I've downloaded the latest build and can confirm that the problem is fixed in v6.0.26.2 of EO.Web.dll

Martin


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.