Drag dock over forbidden zones

3 posts, 1 answers
  1. Gabriel Beauchamp
    Gabriel Beauchamp avatar
    41 posts
    Member since:
    Jan 2008

    Posted 09 Mar 2008 Link to this post

    Is there a way to know over which zone a dock is while dragging it?

    That way I can display a message informing the user that the dock cannot be moved into that specific zone.

    Thanks,
  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 10 Mar 2008 Link to this post

    Hello,

    RadDock provides specifying a highlighting style for each docking zone using the HighlightedCssClass property. When the dock is dragged over a zone which HighlightedCssClass  property is set if the corresponding zone is not forbidden for the dock the zone will be highlighted. You can use this for notifying users where they can drag a dock. For your convenience, I have attached a sample page which demonstrates how to achieve the mentioned above as well as a workaround for alerting a message which notifies the user if the zone over which they drag a dock is forbidden.

    Please, let us know if you need further assistance.

    Best regards,
    Sophy
    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. Answer
    Gabriel Beauchamp
    Gabriel Beauchamp avatar
    41 posts
    Member since:
    Jan 2008

    Posted 10 Mar 2008 Link to this post

    The example you supplied is perfect!

    Thank you!
Back to Top