ASP.NET Error during serialization using JSON Serializer
By [)ia6l0 iii
Increase the max length of the maxJsonLength attribute in the jsonSerializtion node in your web.config file to fix this issue.
Use the Override versions of the page methods instead of thedefault page methods. This would ensure that the .Net runtime does not have to invoke delegates.
Use the "UrlReferrer" property of the Request object to retrieve the previous page url.
Use the "IsSecureConnection" property of the HttpRequest object to find if a Request is from a HTTP or HTTPS connection
You can check the contenttype of the request, and figure out if the request is an JSon request
Use the HtpContext's Request object to determine the Browser name.
ASP.NET Error during serialization using JSON Serializer (875 Views)