Preventing Dropping of docks outside of RadDockZones

3 posts, 1 answers
  1. Sam
    Sam avatar
    103 posts
    Member since:
    Feb 2009

    Posted 12 May 2009 Link to this post

    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. Answer
    Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 13 May 2009 Link to this post

    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.
  3. Sam
    Sam avatar
    103 posts
    Member since:
    Feb 2009

    Posted 13 May 2009 Link to this post

    Thanks Petio, I thought I was setting that but apparently I wasn't.  :)

Back to Top