I am getting the following error when using RadMultiSelect with over 13000 records:
Error
InnerException Message: Error during serialization or deserialization
using the JSON JavaScriptSerializer. The length of the string exceeds
the value set on the maxJsonLength property.
Error InnerException
StackTrace: at
System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object
obj, StringBuilder output, SerializationFormat serializationFormat)
at Telerik.Web.UI.AdvancedJavaScriptSerializer.Serialize(Object obj)
at Telerik.Web.UI.RadMultiSelect.DescribeItems(IScriptDescriptor descriptor)
at Telerik.Web.UI.RadMultiSelect.DescribeComponent(IScriptDescriptor descriptor)
at Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control)
at Telerik.Web.UI.RadDataBoundControl.GetScriptDescriptors()
at System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl)
at Telerik.Web.UI.RadDataBoundControl.RegisterScriptDescriptors()
at Telerik.Web.UI.RadDataBoundControl.Render(HtmlTextWriter writer)
at Telerik.Web.UI.RadMultiSelect.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
I already have <jsonSerialization maxJsonLength="2147483647"> in my web.config but still errors out.
Telerik.Web.UI Version: 2022.2.622.45
Seems similar to this issue: https://www.telerik.com/forums/maxjsonlength-exceeded-in-radmap
But updating to higher version than 2020 didn't seem to solve it. Was the fix only for RadMap?
As it was for other