Hi,
I've now published a very simple example of the problem we're experiencing.
I have removed the CallbackPanel in the example, since the problem also happens when we're not using callback panels.
The example can be viewed if you follow this link:
http://eotest.sparklecrm.nu/default.aspxThere is a button where the click event injects two javascripts:
1. Simple Javascript Alert()
2. Show dialog script
Script one works in all browsers and script two works in all browsers except Chrome.
(We have tested IE6, IE7, Firefox and Opera)
I just noticed that the problem also exists when we use Safari on windows and Mac :-(
All browsers above work just fine when we use version 2007.2 (Fileversion 5.0.51.2)
I published the exact same version of the application except that I replaced the EO.Web.dll with version 2007.2 here:
http://eotest2007.sparklecrm.nu/default.aspxThe source for the page is as follows:
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></title>
</head>
<body>
<form id="form1" runat="server">
<eo:Dialog ID="DialogOrder" runat="server"
Height="200px" Width="300px" AllowResize="True" CloseButtonUrl="00070101"
ControlSkinID="None" HeaderHtml="Order dialog" BorderColor="#335C88"
BorderStyle="Solid" BorderWidth="1px" 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;" />
<ContentStyleActive CssText="border-top: #335c88 1px solid; background-color: #e5f1fd" />
</eo:Dialog>
<asp:Button ID="ButtonShowDialog" runat="server" Text="Show dialog"
onclick="ButtonShowDialog_Click" style="height: 26px" />
</form>
</body>
</html>
Here is the code-behind source:
Code: C#
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void ButtonShowDialog_Click(object sender, EventArgs e)
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "PlainJavaScript", "alert('Javascript alert');", true);
Page.ClientScript.RegisterStartupScript(this.GetType(), "ShowOrderDialog", "eo_GetObject('" + DialogOrder.ClientID + "').show(true);", true);
}
}
Any help regarding this problem is much appreciated :-)
Regards,
Patrik