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

ContextMenu

Properties

Animation - PopupAnimation

OpenOnClick - Boolean

CloseOnClick - Boolean

UrlGenerator - IUrlGenerator

Authorization - INavigationItemAuthorization

Orientation - ContextMenuOrientation

DataSource - DataSource

The number of available pages.

DataSourceId - String

DataTextField - String

DataUrlField - String

DataSpriteCssClassField - String

DataImageUrlField - String

DataContentField - String

Direction - String

Target - String

Filter - String

ShowOn - String

Items - IList

ItemAction - Action

HighlightPath - Boolean

AlignToAnchor - Boolean

AppendTo - String

SecurityTrimming - SecurityTrimming

HoverDelay - Nullable

Scrollable - ContextMenuScrollable

Initializer - IJavaScriptInitializer

Events - IDictionary

Name - String

Id - String

ShouldSanitezeId - Boolean

ModelMetadata - ModelMetadata

HtmlAttributes - IDictionary

ScriptAttributes - IDictionary

ViewContext - ViewContext

ViewData - ViewDataDictionary

IsSelfInitialized - Boolean

IsInClientTemplate - Boolean

HasDeferredInitialization - Boolean

Selector - String

HasClientComponent - Boolean

Methods

WriteInitializationScript(System.IO.TextWriter)

Parameters

writer - System.IO.TextWriter

VerifySettings()

Render()

Renders the component.

ToHtmlString()

GetHtml(System.Boolean)

Parameters

includeScript - System.Boolean

GetInitializator()

Serialize()

WriteDeferredStyles(System.IO.TextWriter)

Writes the deferred styes.

Parameters

writer - System.IO.TextWriter

The writer.

DeferStyles()

ToClientTemplate()

In this article
Not finding the help you need?