New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ContentProviderController

Properties

ContentPath - String

Filter - 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

Authorize(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.

Create(System.String,Kendo.Mvc.UI.FileManagerEntry)

Parameters

target - System.String
entry - FileManagerEntry

Destroy(Kendo.Mvc.UI.FileManagerEntry)

Parameters

entry - FileManagerEntry

Read(System.String)

Parameters

target - System.String

Update(System.String,Kendo.Mvc.UI.FileManagerEntry)

Updates an entry with a given entry.

Parameters

target - System.String
entry - FileManagerEntry

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.

Dispose()

In this article
Not finding the help you need?