Hi Team,
I’m getting below error due to large file size of XML (RadTreeView source XML appox 6MB).
Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
In order to solution provided on http://www.telerik.com/help/aspnet-ajax/troubleshooting-treeview-maximum-length-exceeded.html
<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="999999999"/>
</webServices>
<scriptResourceHandler enableCompression="true" enableCaching="true"/>
</scripting>
</system.web.extensions>
I have applied above code in web.config But this does not work,
I am using client side RadTreeView.
Please let me know the proper solution for the same.




function OnClientSelectionChange(editor, args) { var selElem = editor.getSelection().getParentElement(); //return the currently selected object in the content area var oTool = editor.getToolByName("InsertRowAbove"); //get a reference to the custom tool if (selElem.tagName == "TD") //if the selected element is of image type, make the tool's icon active { oTool.setState(0); //Enable Tool Icon } else { oTool.setState(-1); //Disable Tool Icon } }<telerik:RadEditor ID="RadEditor1" runat="server" Skin="Default" OnClientSelectionChange="OnClientSelectionChange" ContentAreaMode="Div" Height="600px" Width="700px" ToolsFile="~/Admin/Form/Controls/DefaultTools.xml"> 
<
table border="0" style="width: 100%">
<tr valign="middle">
<td style="text-align: left;">
<telerik:RadAsyncUpload ID="rauPRFImageUpload" runat="server" AllowedFileExtensions="jpg,jpeg,png,gif,bmp"
BorderWidth="0px" MaxFileInputsCount="1" MaxFileSize="1048576" OnFileUploaded="rauPRFImageUpload_FileUploaded"
OverwriteExistingFiles="True" Width="100%" OnClientFileUploaded="FileUploaded">
<Localization Select="SELECT" />
</telerik:RadAsyncUpload>
</td>
<td style="text-align:left;width:50%">
<asp:button id="btnImageDelete" runat="server" onclick="btnImageDelete_Click" text="Delete" />
</td>
</tr>
</table>
Hello,
We are using RADControls for AJAX (2010.2.929.20); I am facing a weird issue with RadEditor toolbar; and I am wondering if you guys can shed some light on the possible root cause of the problem.
I have 2 toolbars defined where the 2nd toolbar being the lengthier one. I have a webpage that used to use XML databinding which we had converted to an ASPX page and when I have the oncellchange event on the xml island the toolbar layout seems to be off (refer attached screenshots).
When I observe the rendered markup of the page, if I do not have the oncellchange event defined, the DIV element of the editor wrapper appears as:
<DIV style="MIN-WIDTH: 680px; MIN-HEIGHT: 400px; WIDTH: 1656px; HEIGHT: 400px" id="ctl00_mc_myradEditor" class="RadEditor Default reWrapper">
And the toolbar is rendered as:
<UL style="WIDTH: 810px" class="reToolbar Default"> - For the first toolbar
<UL style="WIDTH: 1148px" class="reToolbar Default"> - For the 2nd toolbar
When the oncellchange event is defined it shows as:
<DIV style="WIDTH: 1656px; HEIGHT: 400px" id="ctl00_mc_myradDEEditor" class="RadEditor Default reWrapper">
and the toolbars are rendered as:
<UL class="reToolbar Default"> - For the first toolbar
<UL class="reToolbar Default"> - For the 2nd toolbar
Any thoughts on why in one case the width's are set to a fixed size and not in other?
Thanks,
