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 3872140
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T21:53:35+00:00 2026-05-19T21:53:35+00:00

I want upload file without reload page. My server-side is ASP.NET MVC. Ext.Ajax.request( {

  • 0

I want upload file without reload page. My server-side is ASP.NET MVC.

Ext.Ajax.request(
    {
        form: f,
        url: 'http://localhost/Mvc/file/create',
        method: 'POST',
        isUpload: true
    }

I know that fileupload not work with ajax. ExtJS do it with IFRAME
After get response ext-all try decode it. If type of action is ActionResult or EmptyResult then fire error, if type of action is JsonResult then Internet Explorer try save json-response as file.

How I must do ajax-style fileupload with ExtJS without show dialog save json and without error?

Best wishes,
Evgeniy.

  • 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-05-19T21:53:35+00:00Added an answer on May 19, 2026 at 9:53 pm

    I solved my trouble.
    The server response is parsed by the browser to create the document for the IFRAME. If the server is using JSON to send the return object, then the Content-Type header must be set to “text/html” in order to tell the browser to insert the text unchanged into the document body.

    return Json(id, "text/html");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Flex i want to upload a particular file to server form local system.how
What I want I want to upload a file without reloading the page, also
I want to do a file upload without posting an entire form. The file
I want to upload file without page refresh. ajaxSubmit() is not working because of
I want to upload a file to a ftp server programmatically (C++). If the
i want to upload the sound file (.ogg) in server. But it should write
I want to upload an image use something like <form ...> <input type=file id=upload></input>
My upload form expects a tar file and I want to check whether the
I want to read a client side XML file uploaded via upload file dialog.
Want to upload a file using ajax for this using this uploader http://valums.com/ajax-upload/ and

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.