ASPxClientFileManager.GetCurrentFolderPath Method

Gets the current folder's path with the specified settings.


GetCurrentFolderPath(separator?: string, skipRootFolder?: boolean): string


Name Type Description
separator string

A string value that specifies the separator between the folder's name within the path.

skipRootFolder boolean

true to skip the root folder; otherwise, false.


Type Description

A string value that represents the path to the folder.


Use the GetCurrentFolderPath method to get the path to the current folder with the specified settings. You can get the path with the root folder or the name with the default separator (""), using the method with the appropriate parameters.


The code below demonstrates how you can get and save the path of a current folder.

function savePath (){
     var path = fileManager.GetCurrentFolderPath('>',true);
See Also