This is a migrated thread and some comments may be shown as answers.

JSON Error on RadDock

5 Answers 140 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 10 Jan 2008, 10:07 PM
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???

5 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 11 Jan 2008, 09:05 AM
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
0
AECLDEV
Top achievements
Rank 1
answered on 08 Feb 2008, 02:31 PM
I am experiencing the same issue.  Have you solved it?
0
Petio Petkov
Telerik team
answered on 08 Feb 2008, 04:41 PM
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
0
Paul
Top achievements
Rank 1
answered on 18 Jun 2008, 06:39 PM
I posted a different thread, but this appears to be the problem I am having.

Any update?

0
Petio Petkov
Telerik team
answered on 23 Jun 2008, 03:50 PM
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
Tags
Dock
Asked by
Ryan
Top achievements
Rank 1
Answers by
Petya
Telerik team
AECLDEV
Top achievements
Rank 1
Petio Petkov
Telerik team
Paul
Top achievements
Rank 1
Share this question
or