We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

drag upload box outside drag area

Thread ID:

Created:

Updated:

Platform:

Replies:

144087 Apr 17,2019 06:20 PM UTC Apr 19,2019 08:51 AM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: UploadBox
Frederik Gysel
Asked On April 17, 2019 06:20 PM UTC

Hi,

The upload box is 'stuck' (when dragging) against the top and left side of the drag area. (highlighted below in red)

What do I have to change to be able to drag the upload box outside the drag area (to top and left).



Thank you
Frederik

Keerthana Rajendran [Syncfusion]
Replied On April 18, 2019 12:07 PM UTC

Hi Frederik,  
 
Thanks for contacting Syncfusion support.  
 
Dialog can be dragged outside the drag wrapper based on the content set in dialogAction property of UploadBox. To drag the upload dialog all over the window, you can set content property of dialogAction as body. Please refer to the below given code.  
 
   <ej:UploadBox ID="Upload1" SaveUrl="saveFiles.ashx" RemoveUrl="removeFiles.ashx" runat="server" AllowDragAndDrop="true"> 
                <DialogAction Content="body" /> 
   </ej:UploadBox> 
 
Note: If you wish to drag within certain limit then you can change this content target as any container id based on your scenario.  
 
We have also attached a sample for your reference which can be downloaded from the below given link 
 
 
 
Now the dialog can be dragged outside the drag area  
 
Regards, 
Keerthana. 


Frederik Gysel
Replied On April 18, 2019 07:12 PM UTC

ahhh my god, that easy.

Sorry for this.

Thanks for your help Keerthana!

Regards
Frederik

Sujith Kumar Rajkumar [Syncfusion]
Replied On April 19, 2019 08:51 AM UTC

Hi Frederik, 
  
We are glad that your issue is resolved. Please let us know if you require any further assistance. 
  
Regards, 
Sujith R 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon