HtmlHelperExtensions.ContentPickerOptions Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

Overloads

ContentPickerOptions(HtmlHelper, FilesApp) Returns a list of <option> elements representing folders in the specified FilesApp.
ContentPickerOptions(HtmlHelper, FilesApp, Content) Returns a list of <option> elements representing the content hierarchy in the specified FilesApp (used when moving content to another location).
ContentPickerOptions(HtmlHelper, FilesApp, Guid) Returns a list of <option> elements representing the content hierarchy in the specified FilesApp (used when inserting/attaching content).

ContentPickerOptions(HtmlHelper, FilesApp)

Returns a list of <option> elements representing folders in the specified FilesApp.

public static MvcHtmlString ContentPickerOptions(this HtmlHelper html, FilesApp app)

Parameters

html
System.Web.Mvc.HtmlHelper
app
FilesApp

FilesApp for which to list folders.

Returns

System.Web.Mvc.MvcHtmlString

ContentPickerOptions(HtmlHelper, FilesApp, Content)

Returns a list of <option> elements representing the content hierarchy in the specified FilesApp (used when moving content to another location).

public static MvcHtmlString ContentPickerOptions(this HtmlHelper html, FilesApp app, Content source)

Parameters

html
System.Web.Mvc.HtmlHelper
app
FilesApp

FilesApp for which to list content.

source
Content

Content item to move.

Returns

System.Web.Mvc.MvcHtmlString

A list of <option> elements.

ContentPickerOptions(HtmlHelper, FilesApp, Guid)

Returns a list of <option> elements representing the content hierarchy in the specified FilesApp (used when inserting/attaching content).

public static MvcHtmlString ContentPickerOptions(this HtmlHelper html, FilesApp app, Guid guid)

Parameters

html
System.Web.Mvc.HtmlHelper
app
FilesApp

FilesApp for which to list content.

guid
System.Guid

System.Guid of content type to insert/attach.

Returns

System.Web.Mvc.MvcHtmlString

A list of <option> elements.