Dock Error

2 posts, 0 answers
  1. Steven
    Steven avatar
    32 posts
    Member since:
    Jul 2012

    Posted 13 May 2013 Link to this post

    We are getting this error and are not sure what is causing it.  Any ideas? 

    We are using version 2013.1.403.40 for Telerik.Web.UI.DLL.


    System.ArgumentException: Invalid object passed in, ':' or '}' expected. (130): {"Top":0,"Left":0,"DockZoneID":"DashBoardZone2","Collapsed":false,"Pinned":false,"Resizable":false,"Closed":false,"Width":"300px",
       at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeDictionary(Int32 depth)
       at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)
       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 Telerik.Web.UI.RadWebControl.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)
     
    Time: 5/9/2013 4:03:36 PM
     
    Source: System.Web.Extensions
  2. Slav
    Admin
    Slav avatar
    1355 posts

    Posted 16 May 2013 Link to this post

    Hello Steven,

    It appears that the problem stems from incorrectly constructed dock state. The dock settings are stored in JSON format and in your case the state is not defined correctly, nevertheless I cannot determine what is causing the problem from your information. Please check the following:

     - Are you modifying the dock state manually? If so, ensure that the format of the dock state is correct after the changes. 
     - In case you are storing the dock state in a cookie and the limit of this cookie (4MB) is reached, part of the JSON string may be cut off.
     - If the dock state is stored in a data-base table, ensure that the column size is enough to hold the full state of the docks.

    I hope this helps. Feel free to contact us again if you encounter more difficulties.

    Regards,
    Slav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top