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

Preventing Dropping of docks outside of RadDockZones

2 Answers 37 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 12 May 2009, 04:18 PM
Is there a way to prevent users from dropping docks outside of Zones??? If someone does it throws  "Invalid JSON primitive" error.


Thanks!
Sam

2 Answers, 1 is accepted

Sort by
0
Accepted
Petio Petkov
Telerik team
answered on 13 May 2009, 10:03 AM
Hi Sam,

The error appears because a floating RadDock is updated via AJAX. You can set RadDock.DockMode property to "Docked". A simple example which illustrates DockMode property is available here:
http://demos.telerik.com/aspnet-ajax/dock/examples/dockmode/defaultcs.aspx

Sincerely yours,
Petio Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Sam
Top achievements
Rank 1
answered on 13 May 2009, 01:18 PM
Thanks Petio, I thought I was setting that but apparently I wasn't.  :)

Tags
Dock
Asked by
Sam
Top achievements
Rank 1
Answers by
Petio Petkov
Telerik team
Sam
Top achievements
Rank 1
Share this question
or