AJAX uploads, jQuery and WCF

  •  03-24-2010, 12:50 AM

    AJAX uploads, jQuery and WCF

    Is there an example (not in MVC) where I can upload a page (without creating a postback) that will drop my uploaded file into a specific folder (not the temp folder) and allow me [from javascript] to detect the name of the saved file so that I can then make an AJAX call to my WCF services?
     
    I am trying to create pages that totally avoid postbacks. All of my pages load once and from there on refresh their content via AJAX calls to WCF services using DTOs to pass/receive data.
     
    I want to be able to (client side only):
    - select a file
    - upload it to an specific folder
    - specify a new name for the uploaded file
    - when the upload completes; call a WCF method to update the DB
    (without ever causing a postback)
     
    Is this possible with AJAX uploader?
    Filed under:
View Complete Thread