shantha lakshmi

shantha lakshmi

  • 1.9k
  • 9
  • 312

ajax return is blank to the controller

Jan 29 2019 8:45 AM
Ajax return works fine in local, but returns blank when hosted
 Url ="/Order/Save"
 parms=json string

type: "POST",
async: false,
url: Url,

dataType: "json",
data: {data: parms.getJSON()},
success: function (data) {
valuesReturned = data;
complete: function () { },

error: function (req, status, error) {
return error;
 when tried to catch execption from ajax the error I get is--
A circular reference was detected while serializing an object of type 'System.Reflection.RuntimeModule' 
when checked at server side , its hitting the server, but the data received is blank
 Kindly do the needful.

Answers (3)