Click or drag to resize
KenticoMediaFilesDialogControllerGetFiles Method
Gets media files for selector dialog.

Namespace: Kentico.Components.Web.Mvc.Dialogs.Internal
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
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: ActionResult
See Also