2

Closed

Cannot return large string from server

description

Hi,
 
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 12:21 PM by interactive

comments

rogermacosta wrote Sep 3, 2007 at 6: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 9:20 PM

wrote Feb 14, 2013 at 8:11 PM

wrote Mar 21, 2014 at 12:21 PM

Thank you for letting us know what your problem was.