Create RadDock on client button click

4 posts, 0 answers
  1. Christoffer Rosenqvist
    Christoffer Rosenqvist avatar
    28 posts
    Member since:
    Oct 2009

    Posted 16 Oct 2009 Link to this post

    Hi!

    I want to create a RadDock on the mousedown event on a button and attach it to the mouse pointer so I can drag and drop it in a raddockzone. Is this possible?
  2. Jim
    Jim avatar
    31 posts
    Member since:
    Jun 2009

    Posted 16 Oct 2009 Link to this post

    This forum thread might be helpful.
  3. Christoffer Rosenqvist
    Christoffer Rosenqvist avatar
    28 posts
    Member since:
    Oct 2009

    Posted 16 Oct 2009 Link to this post

    I have read that thread. It has nothing about creating a RadDock and attaching it to the mouse pointer.
  4. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 21 Oct 2009 Link to this post

    Hello Christoffer,

    The RadDock is a server control and needs to be created on the server. Therefore, you need to do a postback or an AJAX postback, on the mousedown event and create the RadDock and drop it anywhere you want.

    However it is not possible to press a button hold the mouse key, then attach a RadDock to the pointer while holding the key, than drag the dock and place it into a zone.


    Best wishes,
    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.
Back to Top