KenticoMediaFilesDialogControllerGetFiles Method |
Gets media files for selector dialog.
Namespace: Kentico.Components.Web.Mvc.Dialogs.InternalAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax public ContentResult GetFiles(
string libraryName,
string folderPath,
string allowedExtensions
)
Parameters
- libraryName
- Type: SystemString
Name of the media library. - folderPath
- Type: SystemString
Folder in which media files are placed. - allowedExtensions
- Type: SystemString
Semicolon separated list of allowed file extensions.
Return Value
Type:
ContentResultSee Also