Mar 13, 2008, 11:02 AM
[FIXED] Tab had a little icon when open on FF
Hi !
I've a bug with the conrol cool:Window and UpdatePanel.
As you can see, my code is very simple : i try to refresh the content of a cool:window.
With Fiddler, i can see that the file ext-base.js (and only this file) is in the response from the asyncpostback.
Any help ?
Edit : Firebug Infos
I've a bug with the conrol cool:Window and UpdatePanel.
As you can see, my code is very simple : i try to refresh the content of a cool:window.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Assembly="Coolite.Web.UI" Namespace="Coolite.Web.UI" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<ext:ScriptContainer ID="ScriptContainer1" runat="server" />
<title>Test</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" LoadScriptsBeforeUI="true" runat="server" />
<ext:ScriptManager ID="ExtScriptManager" runat="server" />
<ext:Window ID="wdn_nice"
Title="Test Window"
Width="400"
AutoHeight="true"
Shim="false"
BodyStyle="padding:10px;"
AutoShow="true"
Collapsible="true"
Resizable="false"
IconCls="icon-grid"
runat="server">
<Content>
<asp:UpdatePanel ID="uppanel" UpdateMode="Conditional" runat="server">
<ContentTemplate>
<asp:Label ID="lbl_debug" Text="" runat="server" />
<asp:Button ID="btn_test" Text="Click Me" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</Content>
</ext:Window>
</form>
</body>
</html>
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
lbl_debug.Text = "LABEL INIT";
}
protected override void OnInit(EventArgs e)
{
btn_test.Click += new EventHandler(btn_test_Click);
base.OnInit(e);
}
void btn_test_Click(object sender, EventArgs e)
{
lbl_debug.Text = "YOU WIN";
}
}
This simple code doesn't run in IE (seems to run in FF) : there is a null exception ( Ext.EventObject is null )With Fiddler, i can see that the file ext-base.js (and only this file) is in the response from the asyncpostback.
Any help ?
Edit : Firebug Infos
WebRessource .axd line 161
<div class="errorTitle">Ext.EventObject has no properties
<div class="errorTrace"><div class="objectBox objectBox-stackFrame"><a class="objectLink">h</a>(<a class="objectLink objectLink-object">mousemove clientX=0, clientY=0</a>)WebResource.axd (line 161)
<div class="objectBox objectBox-stackFrame"><a class="objectLink">wrappedFn</a>(<a class="objectLink objectLink-object">mousemove clientX=0, clientY=0</a>)WebResource.axd (line 60)
<div class="errorSourceBox errorSource-exec">[img]chrome://firebug/content/blank.gif[/img]var h=function(e){e=Ext.EventObject.setEvent(e);var t;if(o.delegate){t=e.getTarg...