Introduction:
Here I will explain how to solve the problem of jQuery ajax “Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.” in asp.net using c#, vb.net. Actually this jQuery ajax error will occur whenever our result set data cross json default lenth to fix this problem we need to increase maxJsonLength property default value.
Description:
In previous articles I explained gridview examples in asp.net, dropdownlist examples in asp.net, jQuery regular expression to validate url without http(s), regular expression to validate phone number in jquery, regular expression to replace all special characters with spaces in c#, regex email validation in c# and many articles relating to jQuery, asp.net. Now I will explain how to solve the problem of length of the string exceeds the value set on the maxJsonLength property.” in asp.net.
In previous articles I explained gridview examples in asp.net, dropdownlist examples in asp.net, jQuery regular expression to validate url without http(s), regular expression to validate phone number in jquery, regular expression to replace all special characters with spaces in c#, regex email validation in c# and many articles relating to jQuery, asp.net. Now I will explain how to solve the problem of length of the string exceeds the value set on the maxJsonLength property.” in asp.net.