Handling huge data via jquery ajax

随声附和 提交于 2019-12-06 16:49:30

You could also try and set this setting in your web.config:

<configuration> 
   <system.web.extensions>
       <scripting>
           <webServices>
               <jsonSerialization maxJsonLength="50000000"/>
           </webServices>
       </scripting>
   </system.web.extensions>
</configuration> 

More information can be found here:

http://msdn.microsoft.com/en-us/library/system.web.script.serialization.javascriptserializer.maxjsonlength.aspx

Good luck!

I think the issue is a limitation of Firebug and NOT the Ajax request. Firebug has limits of how much data is shown in its network panel.

See this: Firebug Preferences

This is the default:

cache.responseLimit
Maximum size limit for cached and displayed network responses
bytes 5242880

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!