Rank: Member Groups: Member
Joined: 6/20/2007 Posts: 17
|
Hi,
I am using AJAXUploader.ClientSideOnError javascript function to display errors using CallbackPanel on my page.
<script language="javascript"> function ClientUploadFailed(uploader, error, message) { eo_Callback('panUploadError', message); } </script>
It works just fine when Invalid Extension error occurs and execution goes into CallbackPanel.Execute server event handler. However, whenever file exceeds max size it for some reason CallbackPanel.Execute won't fire.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi Sana,
Try to use window.setTimeout to delay the callback on that scenario. The page is blocked from postback when the uploader is in progress. So you need to let the uploader finishes cleaning up before you can call eo_Callback.
Thanks
|