Hello,
I have a RadTreeView control in my application that can potentially contain a large number of nodes. When it does contain a large number of nodes, I get the error:
"Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property."
Normally, I would increase the maxJsonLength value in my web.config, however my application is being installed into SharePoint Central Administration as a feature, and I cannot modify maxJsonLength in Central Admin's web.config for a variety of reasons.
I would like to disable AJAX completely so that JSON serialization is not used - it's okay if the control takes a while to load, plus I am limiting the user to merely expanding and selecting nodes. Is this possible?
Thanks,
Leigh
The treeview definition (nodes are added in code during page load):
I have a RadTreeView control in my application that can potentially contain a large number of nodes. When it does contain a large number of nodes, I get the error:
"Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property."
Normally, I would increase the maxJsonLength value in my web.config, however my application is being installed into SharePoint Central Administration as a feature, and I cannot modify maxJsonLength in Central Admin's web.config for a variety of reasons.
I would like to disable AJAX completely so that JSON serialization is not used - it's okay if the control takes a while to load, plus I am limiting the user to merely expanding and selecting nodes. Is this possible?
Thanks,
Leigh
The treeview definition (nodes are added in code during page load):
<telerik:radtreeview id="ScopeTreeView" runat="server" checkboxes="false" multipleselect="false" allownodeediting="false" registerwithscriptmanager="false" visible="true" />