c# - how to pass large json string to web service using [webinvoke] -
i have problem passing large json string web service client side jquery function. when lenth of string increases 1000 characters, web service throw exception "unspecified network error". please let me know how pass large json value web service using [webinvoke].
can increase size of url or whatever fix problem?
you can serialize json object:
page.asp
var data1 = { idtest: ('<%= miaspvar %>'), fono: telefono, etc, etc }; var strdata = yahoo.lang.json.stringify(data1) callservice(testllamada, strdata, estadollamada, onerror2); function onerror2(result) { alert(result); } function estadollamada(result) { ... }
Comments
Post a Comment