WidgetFactory

Properties

HtmlHelper - HtmlHelper

Initializer - IJavaScriptInitializer

UrlGenerator - IUrlGenerator

HtmlHelper - HtmlHelper

Methods

EditorFor(System.Linq.Expressions.Expression)

Parameters

expression - System.Linq.Expressions.Expression<Func>

NumericTextBoxFor(System.Linq.Expressions.Expression)

Creates a new NumericTextBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().NumericTextBoxFor(m=>m.Property) )
             

NumericTextBoxFor(System.Linq.Expressions.Expression)

Creates a new NumericTextBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().NumericTextBoxFor(m=>m.Property) )
             

IntegerTextBoxFor(System.Linq.Expressions.Expression)

Creates a new NumericTextBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().IntegerTextBoxFor(m=>m.Property) )
             

IntegerTextBoxFor(System.Linq.Expressions.Expression)

Creates a new NumericTextBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().IntegerTextBoxFor(m=>m.Property) )
             

IntegerTextBoxFor(System.Linq.Expressions.Expression)

Creates a new NumericTextBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().IntegerTextBoxFor(m=>m.Property) )
             

IntegerTextBoxFor(System.Linq.Expressions.Expression)

Creates a new NumericTextBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().IntegerTextBoxFor(m=>m.Property) )
             

CurrencyTextBoxFor(System.Linq.Expressions.Expression)

Creates a new NumericTextBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().CurrencyTextBoxFor(m=>m.Property) )
             

CurrencyTextBoxFor(System.Linq.Expressions.Expression)

Creates a new NumericTextBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().CurrencyTextBoxFor(m=>m.Property) )
             

PercentTextBoxFor(System.Linq.Expressions.Expression)

Creates a new NumericTextBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().PercentTextBoxFor(m=>m.Property) )
             

PercentTextBoxFor(System.Linq.Expressions.Expression)

Creates a new NumericTextBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().PercentTextBoxFor(m=>m.Property) )
             

MaskedTextBoxFor(System.Linq.Expressions.Expression)

Creates a new MaskedTextBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().MaskedTextBoxFor(m=>m.Property) )
             

CheckBoxFor(System.Linq.Expressions.Expression)

Creates a new CheckBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().CheckBoxFor(m=>m.Property) )
             

RadioButtonFor(System.Linq.Expressions.Expression)

Creates a new RadioButton.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().RadioButtonFor(m=>m.Property) )
             

TextBoxFor(System.Linq.Expressions.Expression)

Creates a new TextBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().TextBoxFor(m=>m.Property) )
             

OTPInputFor(System.Linq.Expressions.Expression)

Creates a new OTPInput.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().OTPInputFor(m=>m.Property) )
             

TextAreaFor(System.Linq.Expressions.Expression)

Creates a new TextArea.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().TextAreaFor(m=>m.Property) )
             

DateTimePickerFor(System.Linq.Expressions.Expression)

Creates a new DateTimePicker.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().DateTimePickerFor(m=>m.Property) )
             

DateTimePickerFor(System.Linq.Expressions.Expression)

Creates a new DateTimePicker.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().DateTimePickerFor(m=>m.Property) )
             

DateInputFor(System.Linq.Expressions.Expression)

Creates a new DateInput.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().DateInputFor(m=>m.Property) )
             

DateInputFor(System.Linq.Expressions.Expression)

Creates a new DateInput.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().DateInputFor(m=>m.Property) )
             

ColorPickerFor(System.Linq.Expressions.Expression)

Creates a new ColorPicker.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().ColorPickerFor(m=>m.Property) )
             

DatePickerFor(System.Linq.Expressions.Expression)

Creates a new DatePicker.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().DatePickerFor(m=>m.Property) )
             

DatePickerFor(System.Linq.Expressions.Expression)

Creates a new DatePicker.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().DatePickerFor(m=>m.Property) )
             

DateRangePickerFor(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)

Creates a new DateRangePicker bound to nullable model field

Parameters

startExpression - System.Linq.Expressions.Expression<Func>
endExpression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
            @(Html.Kendo().DateRangePickerFor(m=>m.Start, m=>m.End))
             

DateRangePickerFor(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)

Creates a new DateRangePicker bound to nullable model field

Parameters

startExpression - System.Linq.Expressions.Expression<Func>
endExpression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
            @(Html.Kendo().DateRangePickerFor(m=>m.Start, m=>m.End))
             

TimePickerFor(System.Linq.Expressions.Expression)

Creates a new TimePicker.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().TimePickerFor(m=>m.Property) )
             

TimePickerFor(System.Linq.Expressions.Expression)

Creates a new TimePicker.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().TimePickerFor(m=>m.Property) )
             

TimePickerFor(System.Linq.Expressions.Expression)

Creates a new TimePicker.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().TimePickerFor(m=>m.Property) )
             

TimePickerFor(System.Linq.Expressions.Expression)

Creates a new TimePicker.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().TimePickerFor(m=>m.Property) )
             

Creates a new DropDownList.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().DropDownListFor(m=>m.Property) )
             

Creates a new DropDownTree.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().DropDownTreeFor(m=>m.Property) )
             

ComboBoxFor(System.Linq.Expressions.Expression)

Creates a new ComboBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().ComboBoxFor(m=>m.Property) )
             

MultiColumnComboBoxFor(System.Linq.Expressions.Expression)

Creates a new MultiColumnComboBox.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().MultiColumnComboBoxFor(m=>m.Property) )
             

AutoCompleteFor(System.Linq.Expressions.Expression)

Creates a new AutoComplete.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().AutoCompleteFor(m=>m.Property) )
             

MultiSelectFor(System.Linq.Expressions.Expression)

Creates a new MultiSelect.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().MultiSelectFor(m=>m.Property) )
             

SliderFor(System.Linq.Expressions.Expression)

Creates a new Slider.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().SliderFor(m=>m.Property) )
             

SliderFor(System.Linq.Expressions.Expression)

Creates a new Slider.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().SliderFor(m=>m.Property) )
             

SliderFor(System.Linq.Expressions.Expression)

Creates a new Slider.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().SliderFor(m=>m.Property) )
             

SliderFor(System.Linq.Expressions.Expression)

Creates a new Slider.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().SliderFor(m=>m.Property) )
             

RangeSliderFor(System.Linq.Expressions.Expression)

Creates a new Kendo.Mvc.UI.Fluent.WidgetFactory.RangeSliderFor(System.Linq.Expressions.Expression{System.Func{,[]}}).

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().RangeSliderFor(m=>m.Property) )
             

RangeSliderFor(System.Linq.Expressions.Expression)

Creates a new Kendo.Mvc.UI.Fluent.WidgetFactory.RangeSliderFor(System.Linq.Expressions.Expression{System.Func{,[]}}).

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().RangeSliderFor(m=>m.Property) )
             

RecurrenceEditorFor(System.Linq.Expressions.Expression)

Creates a new RecurrenceEditor.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().RecurrenceEditorFor(m=>m.Property) )
             

SwitchFor(System.Linq.Expressions.Expression)

Creates a new Switch.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().SwitchFor(m=>m.Property) )
             

RatingFor(System.Linq.Expressions.Expression)

Creates a new Rating.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().RatingFor(m=>m.Property) )
             

TimezoneEditorFor(System.Linq.Expressions.Expression)

Creates a new TimezoneEditor.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().TimezoneEditorFor(m=>m.Property) )
             

CheckBoxGroupFor(System.Linq.Expressions.Expression)

Creates a CheckBoxGroup

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().CheckBoxGroupFor()
            )
             

RadioGroupFor(System.Linq.Expressions.Expression)

Creates a RadioGroup

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().RadioGroupFor()
            )
             

CaptchaFor(System.Linq.Expressions.Expression)

Creates a Captcha

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().CaptchaFor()
            )
             

TimeDurationPickerFor(System.Linq.Expressions.Expression)

Creates a new TimeDurationPicker.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Example

Razor
 
             @( Html.Kendo().TimeDurationPickerFor(m=>m.NullableProperty) )
             

Template()

DeferredScripts(System.Boolean,System.Boolean)

Returns the initialization scripts for widgets set as deferred

Parameters

renderScriptTags - System.Boolean

Determines if the script should be rendered within a script tag

renderAsModule - System.Boolean

DeferredScriptFile(System.Boolean)

Parameters

renderAsModule - System.Boolean

DeferredScriptFile(System.String,System.Boolean)

Parameters

nonce - System.String
renderAsModule - System.Boolean

ActivateKendoScripts(System.String,System.Boolean)

Manually activate the client-side Kendo scripts. By default this is done internally.

Parameters

nonce - System.String

Specify nonce for the generated script tag.

renderAsModule - System.Boolean

If set to true adds type='module' to the rendered script tag.

Icon(System.Object)

Parameters

iconSettings - System.Object

DeferredScriptsFor(System.String,System.Boolean,System.Boolean)

Returns the initialization scripts for the specified widget.

Parameters

name - System.String

The name of the widget.

renderScriptTags - System.Boolean

Determines if the script should be rendered within a script tag

renderAsModule - System.Boolean

DefaultSettings(System.Boolean,System.Boolean)

Parameters

renderScriptTags - System.Boolean
renderAsModule - System.Boolean

ContextMenu()

Creates a

Example

Razor
 
             @( Html.Kendo().Menu()
                        .Name("Menu")
                        .Items(items => { /* add items here */ });
            )
             

Switch()

Creates a Switch

Example

Razor
 
             @( Html.Kendo().Switch()
                        .Name("Switch")
            )
             

ChartWizard()

Creates a new unbound .

Example

Razor
 
            @(Html.Kendo().ChartWizard()
                        .Name("ChartWizard")
            )
             

ChartWizard(System.Collections.Generic.IEnumerable)

Creates a new ChartWizard bound to the specified data source.

Parameters

data - System.Collections.Generic.IEnumerable<T>

The data source.

Example

Razor
 
            @(Html.Kendo().ChartWizard(Model)
                        .Name("ChartWizard")
            )
             

AIPrompt()

Creates a AIPrompt

Example

Razor
 
            @(Html.Kendo().AIPrompt()
                        .Name("AIPrompt")
            )
             

ActionSheet()

Creates a ActionSheet

Example

Razor
 
            @(Html.Kendo().ActionSheet()
                        .Name("ActionSheet")
            )
             

AppBar()

Creates a AppBar

Example

Razor
 
            @(Html.Kendo().AppBar()
                        .Name("AppBar")
            )
             

ArcGauge()

Creates a ArcGauge

Example

Razor
 
            @(Html.Kendo().ArcGauge()
                        .Name("ArcGauge")
            )
             

Avatar()

Creates a Avatar

Example

Razor
 
            @(Html.Kendo().Avatar()
                        .Name("Avatar")
            )
             

Badge()

Creates a Badge

Example

Razor
 
            @(Html.Kendo().Badge()
                        .Name("Badge")
            )
             

BottomNavigation()

Creates a BottomNavigation

Example

Razor
 
            @(Html.Kendo().BottomNavigation()
                        .Name("BottomNavigation")
            )
             

Creates a Breadcrumb

Example

Razor
 
            @(Html.Kendo().Breadcrumb()
                        .Name("Breadcrumb")
            )
             

Captcha()

Creates a Captcha

Example

Razor
 
            @(Html.Kendo().Captcha()
                        .Name("Captcha")
            )
             

ChartBreadcrumb()

Creates a ChartBreadcrumb

Example

Razor
 
            @(Html.Kendo().ChartBreadcrumb()
                        .Name("ChartBreadcrumb")
            )
             

ChartWizard()

Creates a new unbound .

Example

Razor
 
            @(Html.Kendo().ChartWizard()
                        .Name("ChartWizard")
            )
             

CheckBox()

Creates a CheckBox

Example

Razor
 
            @(Html.Kendo().CheckBox()
                        .Name("CheckBox")
            )
             

CheckBoxGroup()

Creates a CheckBoxGroup

Example

Razor
 
            @(Html.Kendo().CheckBoxGroup()
                        .Name("CheckBoxGroup")
            )
             

Chip()

Creates a Chip

Example

Razor
 
            @(Html.Kendo().Chip()
                        .Name("Chip")
            )
             

ChipList()

Creates a ChipList

Example

Razor
 
            @(Html.Kendo().ChipList()
                        .Name("ChipList")
            )
             

CircularGauge()

Creates a CircularGauge

Example

Razor
 
            @(Html.Kendo().CircularGauge()
                        .Name("CircularGauge")
            )
             

CircularProgressBar()

Creates a CircularProgressBar

Example

Razor
 
            @(Html.Kendo().CircularProgressBar()
                        .Name("CircularProgressBar")
            )
             

ColorGradient()

Creates a ColorGradient

Example

Razor
 
            @(Html.Kendo().ColorGradient()
                        .Name("ColorGradient")
            )
             

ColorPicker()

Creates a ColorPicker

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                        .Name("ColorPicker")
            )
             

DateInput()

Creates a DateInput

Example

Razor
 
            @(Html.Kendo().DateInput()
                        .Name("DateInput")
            )
             

DateRangePicker()

Creates a DateRangePicker

Example

Razor
 
            @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
            )
             

Dialog()

Creates a Dialog

Example

Razor
 
            @(Html.Kendo().Dialog()
                        .Name("Dialog")
            )
             

DockManager()

Creates a DockManager

Example

Razor
 
            @(Html.Kendo().DockManager()
                        .Name("DockManager")
            )
             

Drawer()

Creates a Drawer

Example

Razor
 
            @(Html.Kendo().Drawer()
                        .Name("Drawer")
            )
             

Creates a DropDownButton

Example

Razor
 
            @(Html.Kendo().DropDownButton()
                        .Name("DropDownButton")
            )
             

Editor()

Creates a Editor

Example

Razor
 
            @(Html.Kendo().Editor()
                        .Name("Editor")
            )
             

ExpansionPanel()

Creates a ExpansionPanel

Example

Razor
 
            @(Html.Kendo().ExpansionPanel()
                        .Name("ExpansionPanel")
            )
             

FileManager()

Creates a FileManager

Example

Razor
 
            @(Html.Kendo().FileManager()
                        .Name("FileManager")
            )
             

Filter()

Creates a Filter

Example

Razor
 
            @(Html.Kendo().Filter()
                        .Name("Filter")
            )
             

FlatColorPicker()

Creates a FlatColorPicker

Example

Razor
 
            @(Html.Kendo().FlatColorPicker()
                        .Name("FlatColorPicker")
            )
             

FloatingActionButton()

Creates a FloatingActionButton

Example

Razor
 
            @(Html.Kendo().FloatingActionButton()
                        .Name("FloatingActionButton")
            )
             

Form()

Creates a Form

Example

Razor
 
            @(Html.Kendo().Form()
                        .Name("Form")
            )
             

Gantt()

Creates a Gantt

Example

Razor
 
            @(Html.Kendo().Gantt()
                        .Name("Gantt")
            )
             

ImageEditor()

Creates a ImageEditor

Example

Razor
 
            @(Html.Kendo().ImageEditor()
                        .Name("ImageEditor")
            )
             

ListBox()

Creates a ListBox

Example

Razor
 
            @(Html.Kendo().ListBox()
                        .Name("ListBox")
            )
             

Loader()

Creates a Loader

Example

Razor
 
            @(Html.Kendo().Loader()
                        .Name("Loader")
            )
             

Map()

Creates a Map

Example

Razor
 
            @(Html.Kendo().Map()
                        .Name("Map")
            )
             

OrgChart()

Creates a OrgChart

Example

Razor
 
            @(Html.Kendo().OrgChart()
                        .Name("OrgChart")
            )
             

PDFViewer()

Creates a PDFViewer

Example

Razor
 
            @(Html.Kendo().PDFViewer()
                        .Name("PDFViewer")
            )
             

Pager()

Creates a Pager

Example

Razor
 
            @(Html.Kendo().Pager()
                        .Name("Pager")
            )
             

PivotConfiguratorButton()

Creates a PivotConfiguratorButton

Example

Razor
 
            @(Html.Kendo().PivotConfiguratorButton()
                        .Name("PivotConfiguratorButton")
            )
             

PivotContainer()

Creates a PivotContainer

Example

Razor
 
            @(Html.Kendo().PivotContainer()
                        .Name("PivotContainer")
            )
             

Popover()

Creates a Popover

Example

Razor
 
            @(Html.Kendo().Popover()
                        .Name("Popover")
            )
             

PropertyGrid()

Creates a PropertyGrid

Example

Razor
 
            @(Html.Kendo().PropertyGrid()
                        .Name("PropertyGrid")
            )
             

RadioButton()

Creates a RadioButton

Example

Razor
 
            @(Html.Kendo().RadioButton()
                        .Name("RadioButton")
            )
             

RadioGroup()

Creates a RadioGroup

Example

Razor
 
            @(Html.Kendo().RadioGroup()
                        .Name("RadioGroup")
            )
             

Rating()

Creates a Rating

Example

Razor
 
            @(Html.Kendo().Rating()
                        .Name("Rating")
            )
             

ResponsivePanel()

Creates a ResponsivePanel

Example

Razor
 
            @(Html.Kendo().ResponsivePanel()
                        .Name("ResponsivePanel")
            )
             

Sankey()

Creates a Sankey

Example

Razor
 
            @(Html.Kendo().Sankey()
                        .Name("Sankey")
            )
             

ScrollView()

Creates a ScrollView

Example

Razor
 
            @(Html.Kendo().ScrollView()
                        .Name("ScrollView")
            )
             

Signature()

Creates a Signature

Example

Razor
 
            @(Html.Kendo().Signature()
                        .Name("Signature")
            )
             

SkeletonContainer()

Creates a SkeletonContainer

Example

Razor
 
            @(Html.Kendo().SkeletonContainer()
                        .Name("SkeletonContainer")
            )
             

SplitButton()

Creates a SplitButton

Example

Razor
 
            @(Html.Kendo().SplitButton()
                        .Name("SplitButton")
            )
             

Spreadsheet()

Creates a Spreadsheet

Example

Razor
 
            @(Html.Kendo().Spreadsheet()
                        .Name("Spreadsheet")
            )
             

Stepper()

Creates a Stepper

Example

Razor
 
            @(Html.Kendo().Stepper()
                        .Name("Stepper")
            )
             

TaskBoard()

Creates a TaskBoard

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                        .Name("TaskBoard")
            )
             

TextArea()

Creates a TextArea

Example

Razor
 
            @(Html.Kendo().TextArea()
                        .Name("TextArea")
            )
             

TextBox()

Creates a new .

Example

Razor
 
             @( Html.Kendo().TextBox()
                        .Name("TextBox")
            )
             

TileLayout()

Creates a TileLayout

Example

Razor
 
            @(Html.Kendo().TileLayout()
                        .Name("TileLayout")
            )
             

TimeDurationPicker()

Creates a TimeDurationPicker

Example

Razor
 
            @(Html.Kendo().TimeDurationPicker()
                        .Name("TimeDurationPicker")
            )
             

Timeline()

Creates a Timeline

Example

Razor
 
            @(Html.Kendo().Timeline()
                        .Name("Timeline")
            )
             

ToggleButton()

Creates a ToggleButton

Example

Razor
 
            @(Html.Kendo().ToggleButton()
                        .Name("ToggleButton")
            )
             

ToolBar()

Creates a ToolBar

Example

Razor
 
            @(Html.Kendo().ToolBar()
                        .Name("ToolBar")
            )
             

TreeList()

Creates a TreeList

Example

Razor
 
             @( Html.Kendo().TreeList(Model)
                        .Name("TreeList")
            )
             

TreeMap()

Creates a TreeMap

Example

Razor
 
            @(Html.Kendo().TreeMap()
                        .Name("TreeMap")
            )
             

TreeView()

Creates a TreeView

Example

Razor
 
            @(Html.Kendo().TreeView()
                        .Name("TreeView")
            )
             

Wizard()

Creates a Wizard

Example

Razor
 
            @(Html.Kendo().Wizard()
                        .Name("Wizard")
            )
             

PropertyGrid(Kendo.Mvc.UI.Fluent.T)

Parameters

model - T

StackLayout()

Creates a StackLayout

Example

Razor
 
             @( Html.Kendo().StackLayout()
                        .Name("StackLayout")
            )
             

GridLayout()

Creates a StackLayout

Example

Razor
 
             @( Html.Kendo().GridLayout()
                        .Name("GridLayout")
            )
             

Form()

Creates a Form

Example

Razor
 
            @(Html.Kendo().Form()
                        .Name("Form")
            )
             

Diagram()

Creates a

Example

Razor
 
             @( Html.Kendo().Diagram()
                        .Name("Diagram")
            )
             

Diagram()

Creates a

Example

Razor
 
             @( Html.Kendo().Diagram()
                        .Name("Diagram")
            )
             

Gantt(System.Collections.Generic.IEnumerable,System.Collections.Generic.IEnumerable)

Creates a new Gantt bound to the specified data source.

Parameters

dataSource - System.Collections.Generic.IEnumerable<TTaskModel>

The tasks data source.

dependenciesDataSource - System.Collections.Generic.IEnumerable<TDependenciesModel>

The dependencies data source.

Example

Razor
 
             @( Html.Kendo().Gantt(ViewBag.Tasks)
                        .Name("Gantt")
            )
             

Gantt(System.String,System.String)

Creates a new Gantt bound an item in ViewData.

Parameters

dataSourceViewDataKey - System.String

The data source view data key.

dependenciesDataSourceViewDataKey - System.String

The dependencies data source view data key.

Example

Razor
 
             @( Html.Kendo().Gantt("tasks")
                        .Name("Gantt")
            )
             

Chat()

Creates a Chat

Example

Razor
 
             @( Html.Kendo().Chat()
                        .Name("Chat")
            )
             

TaskBoard()

Creates a TaskBoard

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                        .Name("TaskBoard")
            )
             

TaskBoard()

Creates a TaskBoard

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                        .Name("TaskBoard")
            )
             

PivotConfiguratorV2()

Creates a new .

Example

Razor
 
             @( Html.Kendo().PivotConfiguratorV2()
                        .Name("PivotConfigurator")
            )
             

PivotGridV2()

Creates a new .

Example

Razor
 
             @( Html.Kendo().PivotGridV2()
                        .Name("PivotGrid")
            )
             

PivotGridV2()

Creates a new .

Example

Razor
 
             @( Html.Kendo().PivotGridV2()
                        .Name("PivotGrid")
            )
             

Creates a

Example

Razor
 
             @( Html.Kendo().Menu()
                        .Name("Menu")
                        .Items(items => { /* add items here */ });
            )
             

TreeList(System.Collections.Generic.IEnumerable)

Creates a TreeList

Parameters

dataSource - System.Collections.Generic.IEnumerable<T>

Example

Razor
 
             @( Html.Kendo().TreeList(Model)
                        .Name("TreeList")
            )
             

Grid()

Creates a new Grid bound to the specified data source.

Example

Razor
 
             @( Html.Kendo().Grid(Model)
                        .Name("Grid")
            )
             

Grid(System.Collections.Generic.IEnumerable)

Creates a new Grid bound to the specified data source.

Parameters

dataSource - System.Collections.Generic.IEnumerable<T>

The data source.

Example

Razor
 
             @( Html.Kendo().Grid(Model)
                        .Name("Grid")
            )
             

Grid(System.Data.DataTable)

Creates a new Grid bound to a DataTable.

Parameters

dataSource - System.Data.DataTable

DataTable from which the grid instance will be bound

Grid(System.Data.DataView)

Creates a new Grid bound to a DataView.

Parameters

dataSource - System.Data.DataView

DataView from which the grid instance will be bound

Grid(System.String)

Creates a new Grid bound an item in ViewData.

Parameters

dataSourceViewDataKey - System.String

The data source view data key.

Example

Razor
 
             @( Html.Kendo().Grid<Order>("orders")
                        .Name("Grid")
            )
             

DataSource()

ListView()

Creates a new ListView bound to the specified data source.

Example

Razor
 
             @( Html.Kendo().ListView(Model)
                        .Name("ListView")
            )
             

ListView(System.Collections.Generic.IEnumerable)

Creates a new ListView bound to the specified data source.

Parameters

dataSource - System.Collections.Generic.IEnumerable<T>

The data source.

Example

Razor
 
             @( Html.Kendo().ListView(Model)
                        .Name("ListView")
            )
             

ListView(System.String)

Creates a new ListView bound an item in ViewData.

Parameters

dataSourceViewDataKey - System.String

The data source view data key.

Example

Razor
 
             @( Html.Kendo().ListView<Order>("orders")
                        .Name("ListView")
            )
             

Splitter()

Creates a

Example

Razor
 
             @( Html.Kendo().Splitter()
                        .Name("Splitter");
            )
             

TabStrip()

Creates a new .

Example

Razor
 
             @( Html.Kendo().TabStrip()
                        .Name("TabStrip")
                        .Items(items =>
                        {
                            items.Add().Text("First");
                            items.Add().Text("Second");
                        })
            )
             

DateTimePicker()

Creates a new .

Example

Razor
 
             @( Html.Kendo().DateTimePicker()
                        .Name("DateTimePicker")
            )
             

DatePicker()

Creates a new .

Example

Razor
 
             @( Html.Kendo().DatePicker()
                        .Name("DatePicker")
            )
             

TimePicker()

Creates a new .

Example

Razor
 
             @( Html.Kendo().TimePicker()
                        .Name("TimePicker")
            )
             

Barcode()

Creates a new .

Example

Razor
 
             @( Html.Kendo().Barcode()
                        .For("Container")
            )
             

Sortable()

Creates a new .

Example

Razor
 
             @( Html.Kendo().Sortable()
                        .For("Container")
            )
             

Tooltip()

Creates a new .

Example

Razor
 
             @( Html.Kendo().Tooltip()
                        .For("Container")
            )
             

ColorPalette()

Creates a new .

Example

Razor
 
             @( Html.Kendo().ColorPalette()
                        .Name("ColorPalette")
            )
             

Calendar()

Creates a new .

Example

Razor
 
             @( Html.Kendo().Calendar()
                        .Name("Calendar")
            )
             

PanelBar()

Creates a new .

Example

Razor
 
             @( Html.Kendo().PanelBar()
                        .Name("PanelBar")
                        .Items(items =>
                        {
                            items.Add().Text("First");
                            items.Add().Text("Second");
                        })
            )
             

RecurrenceEditor()

Creates a new .

Example

Razor
 
             @( Html.Kendo().RecurrenceEditor()
                        .Name("recurrenceEditor")
                        .FirstWeekDay(0)
                        .Timezone("Etc/UTC")
            )
             

TimezoneEditor()

Creates a new .

Example

Razor
 
             @( Html.Kendo().TimezoneEditor()
                        .Name("timezoneEditor")
                        .Value("Etc/UTC")
            )
             

Scheduler()

Creates a new .

Example

Razor
 
             @( Html.Kendo().Scheduler<SchedulerEvent>()
                        .Name("Scheduler")
            )
             

PivotGrid()

Creates a new .

Example

Razor
 
             @( Html.Kendo().PivotGridV2()
                        .Name("PivotGrid")
            )
             

PivotGrid()

Creates a new .

Example

Razor
 
             @( Html.Kendo().PivotGridV2()
                        .Name("PivotGrid")
            )
             

PivotConfigurator()

Creates a new .

Example

Razor
 
             @( Html.Kendo().PivotConfiguratorV2()
                        .Name("PivotConfigurator")
            )
             

NumericTextBox()

Creates a new .

Example

Razor
 
             @( Html.Kendo().NumericTextBox()
                        .Name("NumericTextBox")
            )
             

NumericTextBox()

Creates a new .

Example

Razor
 
             @( Html.Kendo().NumericTextBox()
                        .Name("NumericTextBox")
            )
             

CurrencyTextBox()

Creates a new .

Example

Razor
 
             @( Html.Kendo().CurrencyTextBox()
                        .Name("CurrencyTextBox")
            )
             

PercentTextBox()

Creates a new .

Example

Razor
 
             @( Html.Kendo().PercentTextBox()
                        .Name("PercentTextBox")
            )
             

IntegerTextBox()

Creates a new .

Example

Razor
 
             @( Html.Kendo().IntegerTextBox()
                        .Name("IntegerTextBox")
            )
             

MaskedTextBox()

Creates a new .

Example

Razor
 
             @( Html.Kendo().MaskedTextBox()
                        .Name("MaskedTextBox")
            )
             

MediaPlayer()

Creates a new MediaPlayer

Example

Razor
 
             @( Html.Kendo().MediaPlayer()
                        .Name("MediaPlayer")
            )
             

TextBox()

Creates a new .

Example

Razor
 
             @( Html.Kendo().TextBox()
                        .Name("TextBox")
            )
             

OTPInput()

Creates a OTPInput

Example

Razor
 
            @(Html.Kendo().OTPInput()
                        .Name("OTPInput")
            )
             

Window()

Creates a new .

Example

Razor
 
             @( Html.Kendo().Window()
                        .Name("Window")
            )
             

LinearGauge()

Creates a new .

Example

Razor
 
            @( Html.Kendo().LinearGauge()
                       .Name("linearGauge")
            )
             

RadialGauge()

Creates a new .

Example

Razor
 
            @( Html.Kendo().RadialGauge()
                       .Name("radialGauge")
            )
             

Creates a new .

Example

Razor
 
             @( Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .Items(items =>
                        {
                            items.Add().Text("First Item");
                            items.Add().Text("Second Item");
                        })
            )
             

Creates a DropDownTree

Example

Razor
 
             @( Html.Kendo().DropDownTree()
                        .Name("DropDownTree")
            )
             

ComboBox()

Creates a new .

Example

Razor
 
             @( Html.Kendo().ComboBox()
                        .Name("ComboBox")
                        .Items(items =>
                        {
                            items.Add().Text("First Item");
                            items.Add().Text("Second Item");
                        })
            )
             

MultiColumnComboBox()

Creates a new .

Example

Razor
 
             @( Html.Kendo().MultiColumnComboBox()
                        .Name("MultiColumnComboBox")
                        .Items(items =>
                        {
                            items.Add().Text("First Item");
                            items.Add().Text("Second Item");
                        })
            )
             

AutoComplete()

Creates a new .

Example

Razor
 
             @( Html.Kendo().AutoComplete()
                        .Name("AutoComplete")
                        .Items(items =>
                        {
                            items.Add().Text("First Item");
                            items.Add().Text("Second Item");
                        })
            )
             

MultiViewCalendar()

Creates a new .

Example

Razor
 
             @( Html.Kendo().MultiViewCalendar()
                        .Name("MultiViewCalendar")
            )
             

MultiSelect()

Creates a new .

Example

Razor
 
             @( Html.Kendo().MultiSelect()
                        .Name("MultiSelect")
                        .Items(items =>
                        {
                            items.Add().Text("First Item");
                            items.Add().Text("Second Item");
                        })
            )
             

Slider()

Creates a new .

Example

Razor
 
             @( Html.Kendo().Slider()
                        .Name("Slider")
            )
             

Slider()

Creates a new .

Example

Razor
 
             @( Html.Kendo().Slider()
                        .Name("Slider")
            )
             

RangeSlider()

Creates a new .

Example

Razor
 
             @( Html.Kendo().RangeSlider()
                        .Name("RangeSlider")
            )
             

RangeSlider()

Creates a new .

Example

Razor
 
             @( Html.Kendo().RangeSlider()
                        .Name("RangeSlider")
            )
             

ProgressBar()

Creates a new

Example

Razor
 
             @( Html.Kendo().ProgressBar()
                  .Name("progressBar")
            )
             

Upload()

Creates a

Example

Razor
 
             @( Html.Kendo().Upload()
                        .Name("Upload")
                        .Async(async => async
                            .Save("ProcessAttachments", "Home")
                            .Remove("RemoveAttachment", "Home")
                        )
            )
             

Button()

Creates a

Example

Razor
 
             @( Html.Kendo().Button()
                        .Name("Button1");
            )
             

ButtonGroup()

Creates a ButtonGroup

Example

Razor
 
             @( Html.Kendo().ButtonGroup()
                        .Name("ButtonGroup")
            )
             

Notification()

Creates a

Example

Razor
 
             @( Html.Kendo().Notification()
                        .Name("Notification1");
            )
             

Chart()

Creates a Chart

Example

Razor
 
             @( Html.Kendo().Chart()
                        .Name("Chart")
            )
             

Chart(System.Collections.Generic.IEnumerable)

Creates a new Chart bound to the specified data source.

Parameters

data - System.Collections.Generic.IEnumerable<T>

The data source.

Example

Razor
 
             @( Html.Kendo().Chart(Model)
                        .Name("Chart")
            )
             

Chart(System.String)

Creates a new Chart bound an item in ViewData.

Parameters

dataViewDataKey - System.String

The data source view data key.

Example

Razor
 
             @( Html.Kendo().Chart<SalesData>("sales")
                        .Name("Chart")
            )
             

Chart()

Creates a Chart

Example

Razor
 
             @( Html.Kendo().Chart()
                        .Name("Chart")
            )
             

StockChart()

Creates a StockChart

Example

Razor
 
             @( Html.Kendo().StockChart()
                        .Name("StockChart")
            )
             

StockChart(System.Collections.Generic.IEnumerable)

Creates a new StockChart bound to the specified data source.

Parameters

data - System.Collections.Generic.IEnumerable<T>

The data source.

Example

Razor
 
             @( Html.Kendo().StockChart(Model)
                        .Name("StockChart")
            )
             

StockChart(System.String)

Creates a new StockChart bound an item in ViewData.

Parameters

dataViewDataKey - System.String

The data source view data key.

Example

Razor
 
             @( Html.Kendo().StockChart<SalesData>("sales")
                        .Name("StockChart")
            )
             

StockChart()

Creates a StockChart

Example

Razor
 
             @( Html.Kendo().StockChart()
                        .Name("StockChart")
            )
             

Sparkline()

Creates a Sparkline

Example

Razor
 
             @( Html.Kendo().Sparkline()
                        .Name("Sparkline")
            )
             

Sparkline(System.Collections.Generic.IEnumerable)

Creates a new Sparkline bound to the specified data source.

Parameters

data - System.Collections.Generic.IEnumerable<T>

The data source.

Example

Razor
 
             @( Html.Kendo().Sparkline(Model)
                        .Name("Sparkline")
            )
             

Sparkline(System.String)

Creates a new Sparkline bound an item in ViewData.

Parameters

dataViewDataKey - System.String

The data source view data key.

Example

Razor
 
             @( Html.Kendo().Sparkline<SalesData>("sales")
                        .Name("Sparkline")
            )
             

Sparkline()

Creates a Sparkline

Example

Razor
 
             @( Html.Kendo().Sparkline()
                        .Name("Sparkline")
            )
             

QRCode()

Creates a

Example

Razor
 
             @( Html.Kendo().QRCode()
                        .Name("qrCode")
                        .Value("Hello World")
            )
             

Culture(System.Boolean)

Returns the kendo culture script for the current .NET culture.

Parameters

renderScriptTags - System.Boolean

Determines if the script should be rendered within a script tag

Culture(System.String,System.Boolean)

Returns the kendo culture scripts for the specified .NET culture.

Parameters

name - System.String

The name of the culture.

renderScriptTags - System.Boolean

Determines if the script should be rendered within a script tag

In this article
PropertiesHtmlHelper - HtmlHelperInitializer - IJavaScriptInitializerUrlGenerator - IUrlGeneratorHtmlHelper - HtmlHelperMethodsEditorFor(System.Linq.Expressions.Expression)NumericTextBoxFor(System.Linq.Expressions.Expression)NumericTextBoxFor(System.Linq.Expressions.Expression)IntegerTextBoxFor(System.Linq.Expressions.Expression)IntegerTextBoxFor(System.Linq.Expressions.Expression)IntegerTextBoxFor(System.Linq.Expressions.Expression)IntegerTextBoxFor(System.Linq.Expressions.Expression)CurrencyTextBoxFor(System.Linq.Expressions.Expression)CurrencyTextBoxFor(System.Linq.Expressions.Expression)PercentTextBoxFor(System.Linq.Expressions.Expression)PercentTextBoxFor(System.Linq.Expressions.Expression)MaskedTextBoxFor(System.Linq.Expressions.Expression)CheckBoxFor(System.Linq.Expressions.Expression)RadioButtonFor(System.Linq.Expressions.Expression)TextBoxFor(System.Linq.Expressions.Expression)OTPInputFor(System.Linq.Expressions.Expression)TextAreaFor(System.Linq.Expressions.Expression)DateTimePickerFor(System.Linq.Expressions.Expression)DateTimePickerFor(System.Linq.Expressions.Expression)DateInputFor(System.Linq.Expressions.Expression)DateInputFor(System.Linq.Expressions.Expression)ColorPickerFor(System.Linq.Expressions.Expression)DatePickerFor(System.Linq.Expressions.Expression)DatePickerFor(System.Linq.Expressions.Expression)DateRangePickerFor(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)DateRangePickerFor(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)TimePickerFor(System.Linq.Expressions.Expression)TimePickerFor(System.Linq.Expressions.Expression)TimePickerFor(System.Linq.Expressions.Expression)TimePickerFor(System.Linq.Expressions.Expression)DropDownListFor(System.Linq.Expressions.Expression)DropDownTreeFor(System.Linq.Expressions.Expression)ComboBoxFor(System.Linq.Expressions.Expression)MultiColumnComboBoxFor(System.Linq.Expressions.Expression)AutoCompleteFor(System.Linq.Expressions.Expression)MultiSelectFor(System.Linq.Expressions.Expression)SliderFor(System.Linq.Expressions.Expression)SliderFor(System.Linq.Expressions.Expression)SliderFor(System.Linq.Expressions.Expression)SliderFor(System.Linq.Expressions.Expression)RangeSliderFor(System.Linq.Expressions.Expression)RangeSliderFor(System.Linq.Expressions.Expression)RecurrenceEditorFor(System.Linq.Expressions.Expression)SwitchFor(System.Linq.Expressions.Expression)RatingFor(System.Linq.Expressions.Expression)TimezoneEditorFor(System.Linq.Expressions.Expression)CheckBoxGroupFor(System.Linq.Expressions.Expression)RadioGroupFor(System.Linq.Expressions.Expression)CaptchaFor(System.Linq.Expressions.Expression)TimeDurationPickerFor(System.Linq.Expressions.Expression)Template()DeferredScripts(System.Boolean,System.Boolean)DeferredScriptFile(System.Boolean)DeferredScriptFile(System.String,System.Boolean)ActivateKendoScripts(System.String,System.Boolean)Icon(System.Object)DeferredScriptsFor(System.String,System.Boolean,System.Boolean)DefaultSettings(System.Boolean,System.Boolean)ContextMenu()Switch()ChartWizard()ChartWizard(System.Collections.Generic.IEnumerable)AIPrompt()ActionSheet()AppBar()ArcGauge()Avatar()Badge()BottomNavigation()Breadcrumb()Captcha()ChartBreadcrumb()ChartWizard()CheckBox()CheckBoxGroup()Chip()ChipList()CircularGauge()CircularProgressBar()ColorGradient()ColorPicker()DateInput()DateRangePicker()Dialog()DockManager()Drawer()DropDownButton()Editor()ExpansionPanel()FileManager()Filter()FlatColorPicker()FloatingActionButton()Form()Gantt()ImageEditor()ListBox()Loader()Map()OrgChart()PDFViewer()Pager()PivotConfiguratorButton()PivotContainer()Popover()PropertyGrid()RadioButton()RadioGroup()Rating()ResponsivePanel()Sankey()ScrollView()Signature()SkeletonContainer()SplitButton()Spreadsheet()Stepper()TaskBoard()TextArea()TextBox()TileLayout()TimeDurationPicker()Timeline()ToggleButton()ToolBar()TreeList()TreeMap()TreeView()Wizard()PropertyGrid(Kendo.Mvc.UI.Fluent.T)StackLayout()GridLayout()Form()Diagram()Diagram()Gantt(System.Collections.Generic.IEnumerable,System.Collections.Generic.IEnumerable)Gantt(System.String,System.String)Chat()TaskBoard()TaskBoard()PivotConfiguratorV2()PivotGridV2()PivotGridV2()Menu()TreeList(System.Collections.Generic.IEnumerable)Grid()Grid(System.Collections.Generic.IEnumerable)Grid(System.Data.DataTable)Grid(System.Data.DataView)Grid(System.String)DataSource()ListView()ListView(System.Collections.Generic.IEnumerable)ListView(System.String)Splitter()TabStrip()DateTimePicker()DatePicker()TimePicker()Barcode()Sortable()Tooltip()ColorPalette()Calendar()PanelBar()RecurrenceEditor()TimezoneEditor()Scheduler()PivotGrid()PivotGrid()PivotConfigurator()NumericTextBox()NumericTextBox()CurrencyTextBox()PercentTextBox()IntegerTextBox()MaskedTextBox()MediaPlayer()TextBox()OTPInput()Window()LinearGauge()RadialGauge()DropDownList()DropDownTree()ComboBox()MultiColumnComboBox()AutoComplete()MultiViewCalendar()MultiSelect()Slider()Slider()RangeSlider()RangeSlider()ProgressBar()Upload()Button()ButtonGroup()Notification()Chart()Chart(System.Collections.Generic.IEnumerable)Chart(System.String)Chart()StockChart()StockChart(System.Collections.Generic.IEnumerable)StockChart(System.String)StockChart()Sparkline()Sparkline(System.Collections.Generic.IEnumerable)Sparkline(System.String)Sparkline()QRCode()Culture(System.Boolean)Culture(System.String,System.Boolean)
Not finding the help you need?
Contact Support