The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientFileManager.GetCurrentFolderPath Method

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

Declaration

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

Optional Parameters

Name Type Default Description
separator string null

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

skipRootFolder boolean null

true to skip the root folder; otherwise, false.

Returns

Type Description
string

A string value that represents the path to the folder.

Remarks

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.

Examples

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