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

Rename and Drag Drop inside left panel

3 Answers 17 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Hugh
Top achievements
Rank 1
Hugh asked on 19 Mar 2015, 10:22 PM
Afternoon,

I am currently having a problem with drag and drop and Renaming folders in the left panel.  I can drag from the right to the left and I can rename folders in the right panel just fine, but some reason not within the left panel.  Seem to be missing a switch somewhere that I can't find.

What's different in the panels.

thanks,
Steve.

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 24 Mar 2015, 12:33 PM
Hi Steve,

By design the drag in FileExplorer is allowed only when dragging items from the Grid to the TreeView and no vice versa.

As for the renaming - there is slight difference of the command behavior in both panes which might be misleading you. When renaming a folder from the TreeView (left pane) no "Rename" pop-up is shown, but the renaming is done inline in the node. You can see the described behavior here: video. Note that you will be able to rename a folder in the TreeView only if its parent folder has been provided with enough permissions.

I hope this explanation will shed some light on the subject.

Regards,
Vessy
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Hugh
Top achievements
Rank 1
answered on 24 Mar 2015, 07:28 PM
Thanks Vessy, I do understand what you mention. 

How do I capture then event?  permissions are fine for the folder and parent, yet the rename does not work in the treeview.  In the gridview I am able to capture via the itemcommand.

thanks.
Steve.
0
Vessy
Telerik team
answered on 27 Mar 2015, 08:56 AM
Hi Steve,

The ClientMove event is raised both when an item is moved or renamed. You can see an example on how to determine which is the action triggered the event in the Detecting item Move/Rename section of the following topic: FileExplorer Client-side Events

Regards,
Vessy
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
FileExplorer
Asked by
Hugh
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Hugh
Top achievements
Rank 1
Share this question
or