i have a very strange issue with ajax update panel after i updated he site from asp.net 2.0 to 3.5 (and the ajax control toolkit).
have a page with a modal popup - modal popup has a update pael with a dropdown list and a text box, when u select a alue in the dropdown it populates the textbox, here is the code:
also on the page there is an asp panel that i dynamicly load a user control into.
everything was working perfectly when i was using asp.net 2.0 and AJAX.
when i updated the site to use 3.5 ad the newer AJAX tool kit i have noticed a strange error,
depands on the user control loaed the dropdown index chage event that triggers the post back will result in an error: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request
on the server. The status code returned from the server was: 500
sharonbh
Member
36 Points
67 Posts
strange AJAX error after upgrading from 2.0 to 3.5
Jul 15, 2010 11:13 AM|LINK
also on the page there is an asp panel that i dynamicly load a user control into.
everything was working perfectly when i was using asp.net 2.0 and AJAX.
when i updated the site to use 3.5 ad the newer AJAX tool kit i have noticed a strange error,
depands on the user control loaed the dropdown index chage event that triggers the post back will result in an error: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
the debugger shows the error is on:
Sys.Net.XMLHttpExecutor = function Sys$Net$XMLHttpExecutor() {
/// <summary locid="M:J#Sys.Net.XMLHttpExecutor.#ctor" />
if (arguments.length !== 0) throw Error.parameterCount();
Sys.Net.XMLHttpExecutor.initializeBase(this);
var _this = this;
this._xmlHttpRequest = null;
this._webRequest = null;
this._responseAvailable = false;
this._timedOut = false;
this._timer = null;
this._aborted = false;
this._started = false;
this._onReadyStateChange = (function () {
if (_this._xmlHttpRequest.readyState === 4 ) {
try {
if (typeof(_this._xmlHttpRequest.status) === "undefined") {
return;
}
}
catch(ex) {
return;
}
_this._clearTimer();
_this._responseAvailable = true;
try {
_this._webRequest.completed(Sys.EventArgs.Empty);
}
finally {
if (_this._xmlHttpRequest != null) {
_this._xmlHttpRequest.onreadystatechange = Function.emptyMethod;
_this._xmlHttpRequest = null;
}
}
}
});
ajax AJAX Control Toolkit asp.net 3.5 ajax