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: 13.0.131
Syntax public ActionResult GetFiles(
string libraryName,
string folderPath,
string allowedExtensions,
string filterQuery,
int pageIndex
)
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. - filterQuery
- Type: SystemString
Query that filters results. - pageIndex
- Type: SystemInt32
Index of the page. Pages are indexed from 0 (first page).
Return Value
Type:
ActionResultSee Also