Re: ISAPI Rewrite of URL not being picked up after image upload

  •  07-07-2010, 9:28 PM

    Re: ISAPI Rewrite of URL not being picked up after image upload

    Hi debdba,
     
    Please try the example below
     
    1. <%@ Page Language="C#" Title="Customize the queue UI" %>   
    2.   
    3. <%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>   
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">   
    5.   
    6. <script runat="server">   
    7.   
    8.     protected void UploadAttachments1_FileUploaded(object sender, UploaderEventArgs args)   
    9.     {   
    10.         Page.Response.Redirect("http://localhost/uploader/default.aspx?name=ken");   
    11.         //Page.Response.Redirect("http://localhost/uploader/");   
    12.     }   
    13. </script>   
    14.   
    15. <html xmlns="http://www.w3.org/1999/xhtml">   
    16. <head id="Head1" runat="server">   
    17. </head>   
    18. <body>   
    19.     <form id="Form1" runat="server">   
    20.         <CuteWebUI:UploadAttachments runat="server" ID="UploadAttachments1" OnFileUploaded="UploadAttachments1_FileUploaded">   
    21.         </CuteWebUI:UploadAttachments>   
    22.     </form>   
    23. </body>   
    24. </html>  
    Regards,
     
    ken
View Complete Thread