We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

IE9 Image Upload Preview Ajax

Thread ID:





117731 Dec 4,2014 05:39 PM UTC Dec 8,2014 01:20 PM UTC ASP.NET MVC 1
Tags: Uploadbox
Fabio Melendez
Asked On December 4, 2014 05:39 PM UTC

I have a User Creation Page, this page requires me to upload an image and preview it before it gets saved with all the other user information

All the samples I have seen with the UploadBox show a post to the server to an Action, can it post to an Ajax method? So I can add the base64 to the src of the image field, to preview it before the user hits the save button?

Sasikala Nagarajan [Syncfusion]
Replied On December 8, 2014 01:20 PM UTC

Hi Fabio Melendez,

We have analyzed your requirement “upload an image and preview it” and we can achieve this using upload box client side event “complete”. This event will trigger, when your file fully loaded successfully in given URL path. We have prepared sample based on this. Please find the sample from below location


In given sample, we have showcased the image (within dialog box) after the successful loading of uploaded file. Please check with the given sample and let us know whether the given sample meets your requirement or we misunderstood, if so could please provide more details about the requirement and it will be easy for us to provide the exact solution.

Please let us know if you need any further assistance,


Sasikala Nagarajan


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon