I was able to reproduce the described behavior. The renaming and moving is the same operator in the RadFileExplorer
control and the NewPath
property of the RadFileExplorerEventArgs object contains the full virtual path when the folder is moved to different folder (not renamed)
. When you just rename a folder the NewPath
property will contain only the new name of the folder. This behavior of the control, however, does not allow custom validation in your scenario: The Move
event occurs and you need to check whether the new name (when the folder is renamed) contains the '/' character. We will do our best, however, to change the behavior of the control in order to avoid such a problems in the future releases.
Your Telerik points were updated.
All the best,
the Telerik team