Drag-n-Drop, keep the original dock in its zone but create a copy of it and place it in another zone.

4 posts, 0 answers
  1. Gareth
    Gareth avatar
    13 posts
    Member since:
    Sep 2012

    Posted 12 Nov 2009 Link to this post

    I have two drop zones  and have implemented code to make a copy of a dock when dcragged into a zone, but I am having trouble keeping the original dock in its original zone. Instead of having the dock appear in both both copies appear in the destination zone.
    Thanks
  2. Gareth
    Gareth avatar
    13 posts
    Member since:
    Sep 2012

    Posted 16 Nov 2009 Link to this post

    does anyone have any ideas as to how I can achieve the above im getting pretty desperate
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 17 Nov 2009 Link to this post

    Hello Gareth,

    Have you seen the following forum post. It might give you an idea about how to implement your specific scenario.

    Additionally I have attached a sample that cancels the movement of a RadDock to a new zone and initiates a postback using the __doPostback() JavaScript method. Based on the hidden field value you can create a RadDock in the specific zone (Page_Load event can be used).

    Greetings,
    Pero
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Gareth
    Gareth avatar
    13 posts
    Member since:
    Sep 2012

    Posted 17 Nov 2009 Link to this post

    Hi Thanks I have seen that post and have used similar method, I think the last piece of the puzzle is the example that you have provided showing how to cancel the drag. Will try it out now.
Back to Top