I just discover that when I click outside the shape or when I want to change the map mode, the component enter into the Page_Load and into the if(!IsPostBack){ ... ... }.
I don't understand why the component goes into that ?
Is it not a Post Back when I want to change the mode or when I click outside the shape ?
I use the component in an other page of the web site and this problem doesn't appear and it's the same way to edit or to change the mode !
Edit : This is the javascript function that cause the error ("this._clearTimer();") :
function Sys$Net$XMLHttpExecutor$abort() {
/// <summary locid="M:J#Sys.Net.XMLHttpExecutor.abort"></summary>
if (arguments.length !== 0) throw Error.parameterCount();
if (!this._started) {
throw Error.invalidOperation(Sys.Res.cannotAbortBeforeStart);
}
if (this._aborted || this._responseAvailable || this._timedOut)
return;
this._aborted = true;
this._clearTimer();
if (this._xmlHttpRequest && !this._responseAvailable) {
this._xmlHttpRequest.onreadystatechange = Function.emptyMethod;
this._xmlHttpRequest.abort();
this._xmlHttpRequest = null; this._webRequest.completed(Sys.EventArgs.Empty);
}
}
I don't know if this code is created by Map Suite or by .NET.