Re: is there a way for preventing the option to cancel upload form appearing?

  •  10-08-2009, 2:22 AM

    Re: is there a way for preventing the option to cancel upload form appearing?

    Hi jpchatt,
     
    You can only hide the cancel button by javascript. like below
     
    1. <%@ Page Language="C#" %>   
    2.   
    3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   
    4. <html xmlns="http://www.w3.org/1999/xhtml">   
    5. <head id="Head1" runat="server">   
    6.     <title>Untitled Page</title>   
    7. </head>   
    8. <body>   
    9.     <form id="form1" runat="server">   
    10.   <CuteWebUI:UploadPersistedFile ID=UploadPersistedFile1 runat=server></CuteWebUI:UploadPersistedFile>   
    11.       </form>   
    12. </body>   
    13. </html>   
    14.   
    15. <script>   
    16. function CuteWebUI_AjaxUploader_OnStart()   
    17. {   
    18.     var hidden=this;   
    19.    hidden.internalobject.cancelBtn.style.visibility="hidden";   
    20. }   
    21.   
    22. </script>  
    Regards,
     
    Ken
View Complete Thread