Invalid JSON primitive:

1 posts, 0 answers
  1. Sri
    Sri avatar
    7 posts
    Member since:
    Feb 2012

    Posted 05 Jul 2012 Link to this post

    Hi,

    I have an error when clicking on any of the buttons in a pop up.

    Here is the scenario:

    I have a pop up (JQuery pop up) wuich contains a Repeater.
    The Repeater has a column which contains Edit buttons.
    When  click on Edit button, another pop up opens.

    In this pop up we have some buttons and a RadComboobx.

    When we click on any of the buttons or change the combo value. I am getting the bellow error:

    ******************************************
    <error errorId="bf74c476-13ac-4da5-bf5c-95d79e24b04a" application="/" host="AIA3D050IBA" type="System.ArgumentException" message="Invalid JSON primitive: {"enabled":true,"emptyMessage":"","minValue":1,"maxValue":70368744177664}." source="System.Web.Extensions" detail="System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Invalid JSON primitive: {"enabled":true,"emptyMessage":"","minValue":1,"maxValue":70368744177664}. at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) at System.Web.Script.Serialization.JavaScriptSerializer.DeserializeObject(String input) at Telerik.Web.UI.RadWebControl.LoadPostData(String postDataKey, NameValueCollection postCollection) at Telerik.Web.UI.RadInputControl.LoadPostData(String postDataKey, NameValueCollection postCollection) at Telerik.Web.UI.RadWebControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.queue_request_aspx.ProcessRequest(HttpContext context) in c:\Documents and Settings\sradavelli\Local Settings\Temp\Temporary ASP.NET Files\root\b1d35cf8\b00004d1\App_Web_z0cnhrqi.0.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)" 

    ******************************************

    Note: I have placed the pop up DIV in an UpdatePanel control.

    Any one have any Ideas why this is happening.

Back to Top