ASP.Net Ajax Error: The length of the string exceeds the value set on the maxJsonLength property

Last Reply one month ago By dharmendr

Posted one month ago

SIR I USED YOUR CODE TO BIND  repeater link is below 

Bind (Populate) Repeater control with JSON object using jQuery AJAX in ASP.Net

but if i insert 1000 row in customers table  then fetch it show the (undefined) error in alert and The length of the string exceeds the value set on the maxJsonLength property in error function

(select * from Customers) 

what happening on i want to know the exact result 

i know this is done by paging but still i perform for my purpose 

help me 

You are viewing reply posted by: dharmendr one month ago.
Posted one month ago

Hi SajidHussa,

Try to set maxJsonLength to a higher value and check.

Refer below article.

ASP.Net AJAX Error: The length of the string exceeds the value set on the maxJsonLength property