EditorImageBrowserController
Properties
Filter - String
ContentPath - String
Resolver - IDependencyResolver
AsyncManager - AsyncManager
ActionInvoker - IActionInvoker
HttpContext - HttpContextBase
ModelState - ModelStateDictionary
Profile - ProfileBase
Request - HttpRequestBase
Response - HttpResponseBase
RouteData - RouteData
Server - HttpServerUtilityBase
Session - HttpSessionStateBase
TempDataProvider - ITempDataProvider
Url - UrlHelper
User - IPrincipal
ViewEngineCollection - ViewEngineCollection
ControllerContext - ControllerContext
TempData - TempDataDictionary
ValidateRequest - Boolean
ValueProvider - IValueProvider
ViewBag - Object
ViewData - ViewDataDictionary
Methods
AuthorizeThumbnail(System.String)
Parameters
path - System.String
Thumbnail(System.String)
Serves an image's thumbnail by given path.
Parameters
path - System.String
The path to the image.
RETURNS
Thumbnail of an image.
AuthorizeRead(System.String)
Determines if content of a given path can be browsed.
Parameters
path - System.String
The path which will be browsed.
RETURNS
true if browsing is allowed, otherwise false.
Read(System.String)
Parameters
path - System.String
Destroy(System.String,Kendo.Mvc.UI.FileBrowserEntry)
Deletes a entry.
Parameters
path - System.String
The path to the entry.
entry - FileBrowserEntry
The path to the entry.
RETURNS
An empty System.Web.Mvc.ContentResult.
AuthorizeDeleteFile(System.String)
Determines if a file can be deleted.
Parameters
path - System.String
The path to the file.
RETURNS
true if file can be deleted, otherwise false.
AuthorizeDeleteDirectory(System.String)
Determines if a folder can be deleted.
Parameters
path - System.String
The path to the folder.
RETURNS
true if folder can be deleted, otherwise false.
AuthorizeCreateDirectory(System.String,System.String)
Determines if a folder can be created.
Parameters
path - System.String
The path to the parent folder in which the folder should be created.
name - System.String
The path to the parent folder in which the folder should be created.
RETURNS
true if folder can be created, otherwise false.
Create(System.String,Kendo.Mvc.UI.FileBrowserEntry)
Creates a folder with a given entry.
Parameters
path - System.String
The path to the parent folder in which the folder should be created.
entry - FileBrowserEntry
The entry.
RETURNS
An empty System.Web.Mvc.ContentResult.
AuthorizeUpload(System.String,System.Web.HttpPostedFileBase)
Determines if a file can be uploaded to a given path.
Parameters
path - System.String
The path to which the file should be uploaded.
file - System.Web.HttpPostedFileBase
The path to which the file should be uploaded.
RETURNS
true if the upload is allowed, otherwise false.
Upload(System.String,System.Web.HttpPostedFileBase)
Uploads a file to a given path.
Parameters
path - System.String
The path to which the file should be uploaded.
file - System.Web.HttpPostedFileBase
The path to which the file should be uploaded.
RETURNS
A System.Web.Mvc.JsonResult containing the uploaded file's size and name.