IE9 JSON Data "do you want to open or save this file"

internet-explorer-9, json

Solution

Actually, you were right @EricLaw. After setting the content type in the Json result, it worked. I had to add the following lines:

 result.ContentEncoding = System.Text.Encoding.UTF8; 
 result.ContentType = "application/json; charset=UTF-8

Problem

Started testing my jQuery applications with IE9. Looks like I may be in for some trouble here. I noticed that when I return JSON data back to the Javascript methods I always get this Prompt that says: "Do you want to open or save this file?" and provides me with 3 buttons: Open, Save and Cancel. Of course, my javascript is taking actions based on the values set in the JSON object but since IE9 doesn't pass it over to the script, I cannot execute the follow up action from there on. Anyone else facing this issue? Here is a snapshot.

Original source

Related problems