Is any way to disable Update panel during async postback?
I want to prevent any user activity before postback will be completed, how can I do it?
Thanks!
Is this about Microsoft's ASP.NET AJAX UpdatePanel, or about our WebAsyncRefreshPanel (WARP)?
I am speaking about WARP.
I tried "DisableChildren" property and panel was disabled while postback. (Correct behaivour).
But actually with this disabling during post back I tried to resolve following problem, but failed, this disabling did not help:
If immediately after first WARP asynchronous update click on UltraWebGrid header the JavaScript error occurs:
"htmlfile: Unspecified error." in the function igtbl_getAbsBounds(elem, g, forAbsPos)
This error is permanent one. I reproduce it on IE6, IE7, IE8. with Infragistics v.9.1
So if you can help me with this problem I will be happy!
Thanks for clarifying which control you're using.
I'm not certain that I understand the setup you're describing.
Are you trying to disable the WARP's asynchronous updates during an asynchronous callback from the same WARP? If so, I don't expect that this will work - you can modify the properties that are part of the content of WARP, but not properties of the WARP itself. There might be ways around this; one high-level idea is to sett a value in a hidden field contained inside the WARP, and evaluate that hidden field through JavaScript before the WARP determines whether to allow a full postback or to change it to an asynchronous callback.
If you need further help on this, I recommend that you submit a support request so that a Developer Support Engineer can provide you with more personalized assistance. It'll be helpful if you include a link to this thread, as well as a sample project that demonstrates the issue you're seeing.
Let me explain it again:
There is an initial problem:
I use UltraWebGrid inside update panel. If immediately after first WARP's asynchronous update click on UltraWebGrid's header the JavaScript error occurs:
This error is permanent one. I reproduce it on IE6, IE7, IE8. with Infragistics v.9.
I tried to resolve this problem with using "DisableChildren" but failed, this did not help me.
Thanks for the additional information.
It looks like the use of the DisableChildren property of WARP was an attempt to work around this issue, rather than the cause of it.
This is going to require more in-depth research than we can provide through the forums. I've passed this information to a Developer Support Engineer to create a support case for you, and to work with you to identify a resolution.
Hi, I think I am having the same problem, which seems to be related to how long it takes the WARP to finish updating the grid inside it. It looks like the grid is allowing the user to click the paging links before they are updated, which results in a javascript error (or sometimes getting redirected to the folder index page).
Would it be possible to get more information about this issue, or should I file a separate support request?
Thanks,
Joseph
Joseph,
I'm fairly sure that this is a different issue - at least, it's different from what was clarified after the original post in the thread.
Neither WARP nor WebGrid does anything to "block" further user interaction when their AJAX callbacks are being processed. I'm not entirely certain why this would cause an error, so I would indeed recommend submitting a separate support request.