Re: Confirmation Page after uploads?

  •  05-15-2009, 3:04 PM

    Re: Confirmation Page after uploads?

    Please try the following code:
     
    1. <%@ Page language="c#"%>   
    2. <%@ Register Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" TagPrefix="CuteWebUI" %>   
    3.   
    4. <script runat="server">       
    5.     protected override void OnInit(EventArgs e)   
    6.     {   
    7.         base.OnInit(e);   
    8.         Uploader1.FileUploaded += new UploaderEventHandler(Uploader_FileUploaded);   
    9.     }   
    10.   
    11.     void Uploader_FileUploaded(object sender, UploaderEventArgs args)   
    12.     {   
    13.         Uploader uploader = (Uploader)sender;   
    14.         Response.Redirect("http://google.com"false);   
    15.   
    16.     }   
    17. </script>   
    18. <html>    
    19. <head>   
    20. </head>   
    21. <body>   
    22.     <form id="Form1" method="post" runat="server">   
    23.     <CuteWebUI:Uploader runat="server" ID="Uploader1" InsertText="Upload File (Max 10M)">   
    24.         <VALIDATEOPTION MaxSizeKB="10240" />   
    25.     </CuteWebUI:Uploader>   
    26.     </form>   
    27. </body>   
    28. </html>  

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread