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
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.