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: 12.0.0
Syntax
C#
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: ContentResult
See Also