Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • hsj 3 posts 23 karma points
    Jul 03, 2013 @ 17:56
    hsj
    0

    User submitted file upload, Razor/MVC controller action.

    I'm using Umbraco v4.10.1 for site for our customers.  In one section they should be able to submit a report to us and attach files (usually screenshots).  I've been trying to get a ajax file upload component (FineUploader) running but I'm having problems understanding routing.  The upload component wants a controller action to receive the upload but Umbraco handles all the routing at a low level so even though I have an action in my controller to receive the uploaded files I'm not sure how to expose it.  What URL should the component submit to?

    I'm having trouble even just setting up a separate controller action to returning JSON.  I feel like I'm missing something basic here.

    I am not tied to this one component but it would be nice to get it up and running.

    We use MVCBridge to integrate our Razor views into our Umbraco site.

Please Sign in or register to post replies

Write your reply to:

Draft