Jun 25, 2009, 4:04 AM
Bug in Page_AjaxLoadComplete(object sender, EventArgs e)
Hi guys,
I think I have found a bug in Coolite ScriptManager.
Sometimes, on a AjaxEvent, I have a nullReferenceException in Page_AjaxLoadComplete(object sender, EventArgs e).
By placing Log lines into your source code, I found the line where program fails.
In my aspx page, I have
First, I don't understand when this case can occur !!
I will continue to investigating.
Thks
Jerome
I think I have found a bug in Coolite ScriptManager.
Sometimes, on a AjaxEvent, I have a nullReferenceException in Page_AjaxLoadComplete(object sender, EventArgs e).
By placing Log lines into your source code, I found the line where program fails.
XmlNode eventArgumentNode = this.SubmitConfig.SelectSingleNode("config/__EVENTARGUMENT");
I think the nullReference is caused by SubmitConfig to null.In my aspx page, I have
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="Manage.aspx.cs"
Inherits="Example.Web.Manage" EnableViewState="false" %>
<ext:ScriptManager runat="server" ID="ScriptManager1" StateProvider="None">
</ext:ScriptManager>
I figure this error occurs when if (Ext.IsAjaxRequest && !this.Page.IsPostBack)
IsAjaxRequest is to True and this.Page.IsPostBack = false First, I don't understand when this case can occur !!
I will continue to investigating.
Thks
Jerome