Hi
I am trying to implement some validation on new folder name so that when a user changes a folder name to another name, he/she does not enter an invalid char in the new name.
When doing so, I tried to rename a folder from (name) to (name/), i.e I inserted a forward slash at the end of the folder name.
When presseing enter, the application timed out and my (RadFileExplorer1_ItemCommand) event never got triggered.
I also found another issue:
If I put the slash in the middle of the new folder name (i.e. na/me), in the RadFileExplorerEventArgs, and newpath parameter will be wrong!
I suggest that there should be internal validation on invalid characters both in file and folder names. Also, the newpath parameter should contain the new name of the folder rather than the whole path, so that if the developer did his/her own validation he can easily find the new name. This is particularly useful if the user entered a slash in the new folder name then If I parsed the full name I still get errors.
I hope my points are clear
Regards
I am trying to implement some validation on new folder name so that when a user changes a folder name to another name, he/she does not enter an invalid char in the new name.
When doing so, I tried to rename a folder from (name) to (name/), i.e I inserted a forward slash at the end of the folder name.
When presseing enter, the application timed out and my (RadFileExplorer1_ItemCommand) event never got triggered.
I also found another issue:
If I put the slash in the middle of the new folder name (i.e. na/me), in the RadFileExplorerEventArgs, and newpath parameter will be wrong!
I suggest that there should be internal validation on invalid characters both in file and folder names. Also, the newpath parameter should contain the new name of the folder rather than the whole path, so that if the developer did his/her own validation he can easily find the new name. This is particularly useful if the user entered a slash in the new folder name then If I parsed the full name I still get errors.
I hope my points are clear
Regards