Re: FileUploaded event did not fire when file uploaded successfully !

  •  10-10-2008, 9:01 AM

    Re: FileUploaded event did not fire when file uploaded successfully !

    Hi all
     
    Ok...some progress and the problem identified - although not fixed yet...
     
    I am using a URL Rewriter module (http://urlrewriter.net/) and it seems that there is a conflict between that and the CuteWebUI AjaxUploader module.  At this point I am not sure where exactly it is.
     
    An example...
    I have the Ajax Uploader on a web user control and that web user control is in the path /controls/test.ascx.
    On the Page Load event of default.aspx, I use the LoadControl method to load the aforementioned user control onto the page.  The application knows to show this test page when Request.QueryString["page"] equals "test_upload".
     
    Now the interesting bit...
    The URL that I actually call is not default.aspx?page=test_upload but rather test_upload.aspx and this URL is then re-written to be default.aspx?page=test_upload.
    [I hope I am making sense so far!]
     
    In this scenario, the control doesn't work correctly and stops with 1 sec left to go and never fires the AttachmentAdded event.  HOWEVER...if I simply plug in default.aspx?page=test_upload then it works perfectly!...go figure.
     
    This is probably not a big deal to many and I have a workaround the problem for now, but it would be great if this can be solved.  Any ideas appreciated.
     
    Thanks.
View Complete Thread