FileUploaded Event Fires on localhost (Visual Studio 2008) not on DiscountASP

Last post 10-08-2009, 5:29 AM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  10-06-2009, 12:51 PM 56140

    FileUploaded Event Fires on localhost (Visual Studio 2008) not on DiscountASP

    The following FileUploaded EVENT FIRES on my localhost machine during testing. 
    But when I put it on DiscountASP, it does NOT fire although the file does get uploaded
    to the temporary directory on DiscountASP.

    Is there some setting in the web.config file that is special for DiscountASP?


    <CuteWebUI:Uploader runat="server"
            ID="Uploader1"
            InsertText="Upload Multiple Files (Max 10 meg per file)"
            MultipleFilesUpload="true">
            <ValidateOption MaxSizeKB="10240" />
    </CuteWebUI:Uploader>


    CODE-BEHIND
    -----------
        Protected Sub Uploader_FileUploaded(ByVal sender As Object, ByVal args As CuteWebUI.UploaderEventArgs) Handles Uploader1.FileUploaded
            Dim b1 As Integer = 0   <<<< never reaches here. I write to the db and that never occurs on DiscountASP
        End Sub

       
    Thanks

    Filed under:
  •  10-08-2009, 5:29 AM 56214 in reply to 56140

    Re: FileUploaded Event Fires on localhost (Visual Studio 2008) not on DiscountASP

    Hi,
     
    Are you sure the form did postback ?
     
    Is there any javascript error ?
     
    Regards,
    Terry
View as RSS news feed in XML