rad upload moving and close button

2 posts, 0 answers
  1. Ehsan
    Ehsan avatar
    10 posts
    Member since:
    Nov 2014

    Posted 05 Jan 2015 Link to this post

    hi ,
    1- according to attached picture in my upload window there is not "close button" and how i can add it?
    2- upload window is in fixed position and is not movable, how to add moving ability?

  2. Martin Ivanov
    Martin Ivanov avatar
    1546 posts

    Posted 07 Jan 2015 Link to this post

    Hi Ehsan,

    The RadUpload control does not support the described functionality out of the box. The main reason behind this is that the upload component was not designed to behave as a window or a popup. However, you should be able to implement it with custom code.

    To add a close button you can extract the template of the RadUpload control and include an additional button in the StackPanel which holds the Command Area

    As for moving the control you can use several approaches depending on your scenario. For example, you can use the DragDropManager to drag and drop it if necessary. Another thing you can try is to place the control in a Canvas element and when the mouse is pressed on the upload's title you can change the Canvas.Top and Canvas.Left properties.

    You can also consider adding the RadUpload control in a RadWindow.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top