This project has moved. For the latest updates, please go here.


Cannot return large string from server


I calling a server side mthod to return Gridview control rendered as string.
I am using the [object].innerHtml= response.value to bind the result into my page.
It works on few records but if it's too large, simply nothing happens.
Do you have any solution to this?
Closed Mar 21, 2014 at 1:21 PM by interactive


rogermacosta wrote Sep 3, 2007 at 7:27 AM

Solved my own problem, but for anyone who might encounter same problem.I enabled the httpCompression and it worked.

just add these lines into you web.config

<system.web><httpModules> <add name="HttpCompressionModule" type="AjaxPro.HttpCompressionModule,AjaxPro.2"/> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> </httpModules> </system.web>

wrote Oct 4, 2007 at 10:20 PM

wrote Feb 14, 2013 at 9:11 PM

wrote Mar 21, 2014 at 1:21 PM

Thank you for letting us know what your problem was.