Hi Guys,
I am experiencing an error in my application when there is more than 1 editor on the page. I receive the following error when I try to post back:
Exception Details: System.ArgumentException: Invalid JSON primitive: .
Source Error:
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
I am using .NET 4.0 and Telerik v. 2011.2.712.35.
I have got this working by removing one of the 2 editors on the page. This is just a basic FormView, nothing terribly tricky.
Here is the code I'm using for both controls (different IDs and data bindings of course):
I can PM more of my code if that helps.
Thanks in advance guys.
Regards,
Danny
I am experiencing an error in my application when there is more than 1 editor on the page. I receive the following error when I try to post back:
Invalid JSON primitive: .
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.ArgumentException: Invalid JSON primitive: .
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
I am using .NET 4.0 and Telerik v. 2011.2.712.35.
I have got this working by removing one of the 2 editors on the page. This is just a basic FormView, nothing terribly tricky.
Here is the code I'm using for both controls (different IDs and data bindings of course):
<telerik:RadEditor ID="edtSpecificationsContent" runat="server" StripFormattingOnPaste="AllExceptNewLines" SpellCheckSettings-DictionaryLanguage="en-US" ImageManager-UploadPaths="~/Uploads/Images/" ImageManager-ViewPaths="~/Uploads/Images/" ImageManager-DeletePaths="~/Uploads/Images/" ImageManager-MaxUploadFileSize="1024000" DocumentManager-UploadPaths="~/Uploads/Documents/" DocumentManager-ViewPaths="~/Uploads/Documents/" DocumentManager-DeletePaths="~/Uploads/Documents/" DocumentManager-MaxUploadFileSize="5120000" NewLineBr="false" Html='<%# Bind("Specifications") %>' ToolsFile="TinyToolsFile.xml" SkinID="DefaultSetOfTools" Width="600px"><CssFiles><telerik:EditorCssFile Value="Edit.css" /></CssFiles></telerik:RadEditor>I can PM more of my code if that helps.
Thanks in advance guys.
Regards,
Danny
