Re: FileValidating event not firing? Please help!

  •  06-21-2009, 10:49 PM

    Re: FileValidating event not firing? Please help!

    Hi,
     
    Any UI/ViewState changes in FileValidating will be ignored.
     
    You can throw an exception in that event handler, and use javascript to catch it :
     
    function CuteWebUI_AjaxUploader_OnError(msg)
    {
    return false;//hide the default alert
    }
     
    function CuteWebUI_AjaxUploader_OnTaskError(obj,msg,reason)  
    {
    //obj.FileName,obj...
    }
     
     
    Regards,
    Terry
     
View Complete Thread