This is a migrated thread and some comments may be shown as answers.

rad upload moving and close button

1 Answer 49 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Ehsan
Top achievements
Rank 1
Ehsan asked on 05 Jan 2015, 10:23 AM
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?

tnx

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 07 Jan 2015, 02:02 PM
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.

Regards,
Martin
Telerik
 

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.

 
Tags
Upload
Asked by
Ehsan
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or