Event Handler Not Being Called

Last post 07-25-2011, 11:11 AM by LenJacobson. 0 replies.
Sort Posts: Previous Next
  •  07-25-2011, 11:11 AM 68852

    Event Handler Not Being Called

    I have been using the PHP File Uploader successfully for several months.  But now I just wrote a new application using it that is a bit different from my previous use.
     
    As with the previous use, I defined four event handlers:
     
    1. CuteWebUI_AjaxUploader_OnSelect()
    2. CuteWebUI_AjaxUploader_OnStop()
    3. CuteWebUI_AjaxUploader_OnQueueUI()
    4. CuteWebUI_AjaxUploader_OnPostback()
     
    In my new application, the first event handler (viz., "OnSelect") is NOT being called; the other three are.
     
    I can't see anything in my code that could cause this, so I am turning to the Forum to see if someone can suggest a reason that this event handler would not be called.
     
    In spite of the fact that the event handler is not being called, the selection of files to upload and the uploading of the files appears to be working exactly as I want.
     
    PROBLEM SOLVED!!!
     
    I had defined an object inside one branch of an 'if' statement, but it should have been defined outside the 'if' statement so that the object would exist no matter what the outcome of the 'if' statement.
View as RSS news feed in XML