Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8610727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:11:52+00:00 2026-06-12T04:11:52+00:00

I am using uploadify to upload .csv files on my ASP.NET MVC app. From

  • 0

I am using uploadify to upload .csv files on my ASP.NET MVC app. From the controller action I return a JSON with a couple of values like this:

return Json(new { success = false, message = result.Message });

The following is the uploadify code:

$("#email").uploadify(
                    {
                    'uploader': '/js/component/uploadify/uploadify.swf',
                    'script': '/email/UploadEmail',
                    'cancelImg': '/js/component/uploadify/cancel.png',
                    'fileExt': '*.csv',
                    'fileDesc': '*.csv',
                    'auto': true,
                    'multi': false,
                    'buttonText': 'Upload...',

                        'onComplete': function (event, queueID, fileObj, response, data)
                            {

                                alert(jQuery.parseJSON(response));
                                alert(jQuery.parseJSON(response.message));
                                var filename = fileObj.name;
                                $('#emailSuppressionFile').append('<input id="' + queueID + '" type="hidden" name="files[' + queueID + ']" value="' + filename + '" />');                                   
}                                
                    });

I am trying to read the “message” that I returned from the controller action but can’t figure out how. Please see the alerts above.The first alert returns: [object Object] and the second return null.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T04:11:53+00:00Added an answer on June 12, 2026 at 4:11 am

    Try like this:

    onComplete: function(event, queueID, fileObj, response, data) {
        var json = jQuery.parseJSON(response);
        alert(json.message);
    },
    

    Also don’t put quotes around the event name.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Uploadify to upload multiple files in my ASP.NET MVC application. In
I am uploading a file in my ASP.NET MVC application using Uploadify. Controller: public
I am using Uploadify v2.1.4 to upload images using ASP.Net C# FM 4.0. In
I'm using Uploadify to upload some images with ASP.NET. I use Response.WriteFile() in ASP.NET
I am using Uploadify to upload files. Problem is, I need to inform users
I am using uploadify to upload big files upto 60MB. I am getting HTTP
i am using uploadify script to upload files as my school project. //die($_SESSION['ID'].'.....'.$_SESSION['level']); if
I'm using Uploadify to upload files in my site and in order to make
I am using Uploadify with ASP.Net 4.0 and a Generic Handler for the backend.
I am using uploadify plugin to upload files and update them in mysql database.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.