Welcome Guest Search | Active Topics | Sign In | Register

dialog within a content page Options
Norm
Posted: Monday, January 7, 2008 4:57:26 AM
Rank: Member
Groups: Member

Joined: 11/29/2007
Posts: 25
Hi,

I place a dialog within the content placeholder of a page based on a master page. The content placeholder is within a splitter pane on the master page.

The content page has a hyperlink to show the dialog and the dialog. Exactly as per the demo. The dialog is displayed ok, but none of the controls on the dialog respond. I can only hit the escape key to close the dialog.

If I do the same this on a page not based on the master page things work fine.

Any Suggestions?
eo_support
Posted: Monday, January 7, 2008 5:48:07 AM
Rank: Administration
Groups: Administration

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

Can you create a stripped down version of the two pages (the master page and the content page) that demonstrates the problem? Do not copy and paste your whole page if it relies on other code modules/resources. We will not be able to work on it if we can not run it.

Thanks
Norm
Posted: Monday, January 7, 2008 8:01:59 AM
Rank: Member
Groups: Member

Joined: 11/29/2007
Posts: 25
Ok herewith the code:

////////////
/// first the master page
/////////////

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<%@ 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>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
&nbsp;<eo:splitter id="Splitter1" runat="server" autofillwindow="True" bordercolor="#3B619C" borderstyle="Solid" borderwidth="1px" controlskinid="None" dividerimage="00080201" dividersize="6" height="200px" width="300px">
<eo:splitterpane id="SplitterPane1" runat="server" height="180px" width="100px">
</eo:splitterpane>
<eo:splitterpane id="SplitterPane2" runat="server" height="180px" width="100px">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</eo:splitterpane>
</eo:splitter>
</div>
</form>
</body>
</html>


//////////////
/// then the content page
////////////

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" Title="Untitled Page" %>

<%@ register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p>
<a href="javascript:eo_GetObject('Dialog1').show(true);">Show Modal</a>
</p>
<eo:dialog id="Dialog1" runat="server" acceptbutton="ImageButton1" backcolor="#47729F" controlskinid="None" headerhtml="Dialog Header" height="100px" width="168px">
<footerstyleactive csstext="border-right: #22456a 1px solid; padding-right: 4px; border-top: #7d97b6 1px solid; padding-left: 4px; border-left-width: 1px; font-size: 11px; border-left-color: #728eb8; padding-bottom: 4px; color: white; padding-top: 4px; border-bottom: #22456a 1px solid; font-family: verdana" />
<headerstyleactive csstext="border-right: #22456a 1px solid; padding-right: 4px; border-top: #ffbf00 3px solid; padding-left: 4px; font-weight: bold; font-size: 11px; padding-bottom: 2px; color: white; padding-top: 2px; border-bottom: #22456a 1px solid; font-family: verdana" />
<footertemplate>
<div style="text-align: center">
<asp:imagebutton id="ImageButton1" runat="server" imageurl="~/Images/dark_blue_dlg_ok.gif" /></div>
</footertemplate>
<contentstyleactive csstext="border-right: #22456a 1px solid; padding-right: 4px; border-top: #7d97b6 1px solid; padding-left: 4px; border-left-width: 1px; font-size: 11px; border-left-color: #728eb8; padding-bottom: 4px; color: white; padding-top: 4px; border-bottom: #22456a 1px solid; font-family: verdana" />
<contenttemplate>
<asp:checkbox id="CheckBox1" runat="server" text="Option 1" />
<br />
<asp:checkbox id="CheckBox2" runat="server" text="Option 2" />
</contenttemplate>
</eo:dialog>
</asp:Content>

eo_support
Posted: Wednesday, January 9, 2008 6:49:22 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
This issue is fixed with build 2007.2.21.


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.