JSON Error on RadDock

6 posts, 0 answers
  1. Ryan
    Ryan avatar
    7 posts
    Member since:
    Aug 2007

    Posted 10 Jan 2008 Link to this post

    Hi, im working with the RadDock with several areas/ windows,  after some dragging and dropping of the windows between the zones, i get the next error:

    Invalid JSON primitive:

    {"Top":0"Left":0,"DockZoneID":"ctl00_ContentPlaceHolder1_Display_RackDockZone1","Collapsed":false,"Pinned":false,"Closed":false,"index":2}


    any idea of how to solve this problem???
  2. Petya
    Admin
    Petya avatar
    869 posts

    Posted 11 Jan 2008 Link to this post

    Hi Ryan,

    We are not sure why you get this type of error. What browser do you use? Are you able to reproduce it by dragging and dropping docks on any of our online demos? If yes - please provide us with steps to reproduce. If it happens only in your project, then I kindly suggest that you try to isolate the problem in a simple running project  and send along with steps to reproduce it to us so we can run it and investigate the problem. To be able to attach files to your thread you need to open a support ticket as described in the attached instructions.

    Best wishes,
    Petya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. AECLDEV
    AECLDEV avatar
    50 posts
    Member since:
    Aug 2006

    Posted 08 Feb 2008 Link to this post

    I am experiencing the same issue.  Have you solved it?
  5. Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 08 Feb 2008 Link to this post

    Hi AECLDEV,

    Unfortunately we are still unable to reproduce the problem locally.
    Could you please open a new support ticket and send us running project where we can observe this issue? Some additional information (Browser, Screenshots of the error, Detailed steps to reproduce it) will be highly appreciated. Once we receive them, we will do our best to help you.



    Greetings,
    Petio Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Paul
    Paul avatar
    2 posts
    Member since:
    Jun 2008

    Posted 18 Jun 2008 Link to this post

    I posted a different thread, but this appears to be the problem I am having.

    Any update?

  7. Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 23 Jun 2008 Link to this post

    Hello Paul,

    The problem you experience is due to that you update a floating RadDock with AJAX. When dragging the dock you move it outside the update panel and this causes AJAX not working properly as it attempts to recreate the dock at the place it was previously located and  the dock is moved to the new place and stays there. In this way two docks with the same id appear on the page and this leads to an exception.

    This is a common problem of controls which can be moved in the DOM tree. Improving  the ability of RadDock to work with AJAX and simplifying the whole mechanism is in our TODO list for the next official release. For the time being I suggest that you update the content.

    Let us know if you have any other questions.

    All the best,
    Petio Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017