I'm running through the getJSON javascript jquery (1.8.3) command to call a routine MCV C #. The routine in C # returns the data, however I can not obtain them in return getJson. This does not happen if I limit the amount of data returned. Does anyone know if it is problem of limitation of bytes transferred?
Follows the code I'm using:
JQuery
function fnPesquisar(posCli) {      
   $.getJSON('/DiarioOficial/ConferenciaPesquisa()', fnPesquisarCallback);      
   return false;
}
function fnPesquisarCallback(json) {       
   $(json).each(function () {
        //...
   });             
}
C#
public JsonResult ConferenciaPesquisa()
{          
      BWF.DiarioOficial.Publicacao bwf = new BWF.DiarioOficial.Publicacao();
      return Json(bwf.Pesquisar(), JsonRequestBehavior.AllowGet);
}
 
     
    