Click here to Skip to main content
15,888,803 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have all page structure building logic implemented in client side scripts . I have to send a large complex object to client and then fill data on client side in structure built. While sending data to client by serialising object using JavaScriptSerializer it goes beyond the limit of serialization limit. Is there any alternate method to send large complex object to client side?
Posted

Try to use BLOB Data type which is available in the sql server
 
Share this answer
 
I’m guessing we are talking about ASP.NET AJAX here, right? If this is the case then you can set the limit in the web.config with something like this:
XML
<system.web.extensions>
   <scripting>
     <webServices>
       <jsonSerialization maxJsonLength="500000" />
     </webServices>
   </scripting>
</system.web.extensions>
 
Share this answer
 
thanks for answers but,
For answer1 I don't want any database specific solution as database can be sql server, oracle or informix.
and for Answer2 I have already tried it, but this limit gets exceed as my object is so large and complex.
Please give me some other solution. It's urgent. Eagerly waiting for good solution.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900