Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
894 views
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:

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: 

[ArgumentException: Invalid JSON primitive: .]
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() +562290
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) +263
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) +80
   System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) +44
   Telerik.Web.UI.RadWebControl.LoadPostData(String postDataKey, NameValueCollection postCollection) +107
   Telerik.Web.UI.RadWebControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +13
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +8910120
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +878


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
Marin Bratanov
Telerik team
 answered on 02 Apr 2015
1 answer
106 views
Hello

We are using Q2 2014 version.  The problem we have occurs in Firefox (not in IE).  When we use the backspace key to remove a character in RadEditor, it removes two.
How can we fix that?

Thank you
Raka
Marin Bratanov
Telerik team
 answered on 02 Apr 2015
0 answers
68 views
Please suggest me a solution for this.It is really very urgent and i don't have any idea how to fix this
Mahesh
Top achievements
Rank 1
 asked on 02 Apr 2015
1 answer
61 views
Hi,

I observed, pinning is possilbe through code.

1. Is there any option to set pinning through UI.

Regards
Vasu
Eyup
Telerik team
 answered on 02 Apr 2015
1 answer
296 views
The Rad Navigation control is perfect for our mobile targeted pages. However, a couple of questions:

1)  the menu bar and button uses a little too much of the limited screen real estate. Is there a way to change its size? I tried setting the height property to say 35px but the button did not scale. This also left a gap between the drop down menus and the menu bar. I am using the BlackMetroTouch skin.
2) Also, can you suggest css to make the menu text a little bigger? It's a little small for touch on a smart phone.

Thanks.

Charles
Magdalena
Telerik team
 answered on 02 Apr 2015
9 answers
802 views
I have a rad grid where I want to click 'Page 8' and only pull back records 81-90. My pagesize is set to 10. I have tried the link below and added all the code to the onneeddatasource, but I am not sure how to get the pageindex that I just clicked. CurrentPageIndex seems to be the index the page is currently on. I need the page I clicked. Also, how does rad grid look at when you hit the 'last page' or 'first page' or 'next page' or 'previous page' or 'next pages..'

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/custompaging/defaultcs.aspx
Phillip
Top achievements
Rank 1
 answered on 02 Apr 2015
1 answer
95 views
Hi,

i used one RadToolbar and i added downloading type options to RadToolbar as button when i select Excel and click on export button it is working fine
but when i select Word and click export i am getting error like

0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'toLowerCase': object is null or undefined

full description like


Unhandled exception at line 6, column 55946 in http://localhost/xyzWebSite/Telerik.Web.UI.WebResource.axd?

_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions, Version=4.0.0.0, Culture=neutral, 

PublicKeyToken=31bf3856ad364e35:en-US:fa6755fd-da1a-49d3-9eb4-1e473e780ecd:ea597d4b:b25378d2;Telerik.Web.UI, Version=2015.1.225.45, 

Culture=neutral, PublicKeyToken=121fae78165ba3d4:en-US:d3cd47d0-4d93-4bad-8b9f-

f9fea0aa4c69:16e4e7cd:f7645509:24ee1bba:c128760b:1e771326:88144a7a:a7e79140:2003d0b8:f46195d3:aa288e2d:258f1c72

0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'toLowerCase': object is null or undefined








Unhandled exception at line 1177, column 2 in http://localhost/xyzWebSite/DXR.axd?

r=1_187,1_101,1_180,1_175,1_120,7_51,7_54,7_48,7_53,1_98,1_172,1_170,1_121,1_130,1_124-iTrva

0x8000ffff - Microsoft JScript runtime error: Invalid calling object






Ivan Danchev
Telerik team
 answered on 02 Apr 2015
1 answer
65 views
Hello,

I'm trying to modify the Timeline View because I want to show the attachments and the time bar at the bottom of the TimeLine view instead of the top.

The Screenshot attached is a preview of what I want to do is there a way to do that?

Thanks for the time. 
Plamen
Telerik team
 answered on 02 Apr 2015
7 answers
149 views
Hi,

I have some issues regarding the Radpivotgrid. I use it to show values from an Olap cube.
First:
When I select an measure in "All fields" area it should move to "Aggregate fields". But first it is shown in "Row fields". After a click on "Update" it is shown in "Aggregate fields" correctly.

Second:
I set ShowFilterHeaderZone="False" ShowColumnHeaderZone="False" ShowRowHeaderZone="False" ShowDataHeaderZone="False".
For row fields I choose a date hierachy.
The shown values in the grid look a little bit weird. The expanded row values overlap the Grad total. Is this a style problem?

Third and least:
The filter fields header label of configuration panel has a filter symbol with a little whatever on the left side. Is this normal?

Regards,
Rayko
Angel Petrov
Telerik team
 answered on 02 Apr 2015
1 answer
224 views
I have a telerik radwindow(using content template) which shows up on click of a button .There are option Yes and No which user should select.
If the user selects Yes they are directed to another telerik rad window.
How do I make a radio button (With Yes/No options) mandatory for a rad window with content template
Either on close I always reopen the window using javascript but If I do that I am not able to disable the background of the parent window or any other solution?
Thanks,
Marin Bratanov
Telerik team
 answered on 02 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?