Hi,
I've got a little problem ^^. I'm using an update panel wich is created dynamically.
The control inside the updatepanel make some postback calling the __doPostBack function created using the GetPostBackEventReference function.
First time i click on one of the item that is inside the update panel it send an asynchronous request, the controls inside the update panel are created, then
the function that handle the postback event is called, it deletes one of the item inside the update panel and refresh the content of the update panel (you might notice that the update panel is first filled to recreate the control that handle the event, then it deletes the item from the database, then it recreates all the item inside the updatepanel).
The problem is that after this asyncronous callback, if i try to click on another item the asynchronous callback is done but the event handling function is not called :s ... then i retry to click and it works, the event handler is called ...
So i think that the problem is more an asp .net problem, maybe due to the page life cycle, but if someone could show me the light or a way to find the light it would be create :)
Thanks
http://news.infragistics.com/readmessage?id=%3C2c08997$32849066$2c1d78@.news.infragistics.com%3E&group=infragistics.products.netadvantage.aspnet.webasyncrefreshpanel
set "_spFormOnSubmitCalled = false: "_spFormOnSubmitCalled" object, as mentioned, is given in C:\Program
Files\Common Files\Microsoft Shared\web server extensions\12
\TEMPLATE\LAYOUTS\1033\Init.js
function _spFormOnSubmitWrapper()
{
if (_spSuppressFormOnSubmitWrapper)
{
returntrue;
}
if (_spFormOnSubmitCalled)
{
returnfalse;
}
if (typeof(_spFormOnSubmit)=="function")
{
var retval=_spFormOnSubmit();
var testval=false;
if (typeof(retval)==typeof(testval) && retval==testval)
{
returnfalse;
}
}
RestoreToOriginalFormAction();
///_spFormOnSubmitCalled=true;
_spFormOnSubmitCalled=false; // !!!!!!!!!
returntrue;
}
No comments:
Post a Comment