To catch uploader error, you need to use CuteWebUI_AjaxUploader_OnTaskError or CuteWebUI_AjaxUploader_OnError event.


<%@ Page Language="C#" %>
<%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>
<script type="text/javascript">
    function CuteWebUI_AjaxUploader_OnError(msg)
         alert("global error:"+msg);
         return false;
    function CuteWebUI_AjaxUploader_OnTaskError(obj,msg,reason) 
        alert("file error:"+obj.FileName+" , "+msg);
        return false;
<script runat="server">
      void Uploader_FileUploaded(object sender, UploaderEventArgs args)
<form runat="server" id="theForm">
      <CuteWebUI:Uploader runat="server" ID="Uploader1" 
            InsertText="Upload File" OnFileUploaded="Uploader_FileUploaded">

Send feedback about this topic to CuteSoft. © 2003 - 2017 CuteSoft Components Inc. All rights reserved.