# DropDownListBuilder

## Properties

### WriteAction - Func

## Methods

### Animation(System.Boolean)

Use to enable or disable animation of the popup element.

#### Parameters

##### enable - `System.Boolean`

The boolean value.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) to allow method chaining.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                       .Name("DropDownList")
                       .Animation(false) //toggle effect
            )
             
```

### Animation(System.Action)

Configures the animation effects of the widget.

#### Parameters

##### animationAction - System.Action<[PopupAnimationBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/popupanimationbuilder)>

The action which configures the animation effects.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) to allow method chaining.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                       .Name("DropDownList")
                       .Animation(animation =>
                       {
            	            animation.Open(open =>
            	            {
            	                open.SlideIn(SlideDirection.Down);
            	            });
                       })
             )
             
```

### BindTo(System.Collections.IEnumerable)

Binds the DropDownList to an IEnumerable list.

#### Parameters

##### data - `System.Collections.IEnumerable`

The data source.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) to allow method chaining.

#### Example

```
 
             @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .DataTextField("CompanyName")
                        .DataValueField("CompanyID")
                        .BindTo(new List <Company>
                        {
                            new Company() {
                                CompanyName = "Text1",
                                CompanyID = "Value1"
                            },
                            new Company() {
                                CompanyName = "Text2",
                                CompanyID = "Value2"
                            }
                        } )
            )
             
```

### BindTo(System.Collections.Generic.IEnumerable)

Binds the DropDownList to a list of SelectListItem.

#### Parameters

##### dataSource - `System.Collections.Generic.IEnumerable<SelectListItem>`

The data source.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) to allow method chaining.

#### Example

```
 
             @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .BindTo(new List <SelectListItem>
                        {
                            new SelectListItem() {
                                Text = "Text1",
                                Value = "Value1"
                            },
                            new SelectListItem() {
                                Text = "Text2",
                                Value = "Value2"
                            }
                        } )
             )
             
```

### Items(System.Action)

Defines the items in the DropDownList

#### Parameters

##### addAction - System.Action<[SelectListItemFactory](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/selectlistitemfactory)>

The add action.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) to allow method chaining.

#### Example

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

### DataSource(System.Action)

Sets the data source configuration of the DropDownList.

#### Parameters

##### configurator - System.Action<[ReadOnlyDataSourceBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/readonlydatasourcebuilder)>

The lambda which configures the data source

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) to allow method chaining.

#### Example

```
 
             @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .DataSource(source =>
                        {
                            source.Read(read =>
                            {
                                read.Action("RemoteDataSource_GetProducts", "DropDownList");
                            });
                        })
             )
             
```

### DataSource(System.String)

Sets a standalone DataSource Component as data source of the DropDownList.

#### Parameters

##### dataSourceId - `System.String`

The id of the external dataSource widget.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) to allow method chaining.

#### Example

```
 
            
              @(Html.Kendo().DropDownList()
                         .Name("DropDownList")
                         .DataSource("dataSourceName")
              )
              
```

### Filter(System.String)

The filtering method used to determine the suggestions for the current value. Filtration is turned off by default. The supported filter values are startswith, endswith and contains.

#### Parameters

##### value - `System.String`

The value for Filter

#### Example

```
 
            
              @(Html.Kendo().DropDownList()
                         .Name("DropDownList")
                         .Filter(FilterType.Contains)
              )
              
```

### SelectedIndex(System.Int32)

Use it to set selected item index

#### Parameters

##### value - `System.Int32`

Item index.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) to allow method chaining.

#### Example

```
 
             @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .SelectedIndex(0);
             )
             
```

### AdaptiveTitle(System.String)

Allows customization of the title's text in the adaptive view of the component.

#### Parameters

##### value - `System.String`

The value for AdaptiveTitle

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### AdaptiveSubtitle(System.String)

Allows customization of the subtitle's text in the adaptive view of the component.

#### Parameters

##### value - `System.String`

The value for AdaptiveSubtitle

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### AutoBind(System.Boolean)

Controls whether to bind the widget to the data source on initialization.

#### Parameters

##### value - `System.Boolean`

The value for AutoBind

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .AutoBind(false)
             )
             
```

### AutoWidth(System.Boolean)

If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label.

#### Parameters

##### value - `System.Boolean`

The value for AutoWidth

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .AutoWidth(false)
             )
             
```

### CascadeFrom(System.String)

Use it to set the Id of the parent DropDownList widget.Help topic showing how cascading functionality works

#### Parameters

##### value - `System.String`

The value for CascadeFrom

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList2")
                        .CascadeFrom("DropDownList1")
             )
             
```

### CascadeFromField(System.String)

Defines the field to be used to filter the data source. If not defined the parent's dataValueField option will be used.Help topic showing how cascading functionality works

#### Parameters

##### value - `System.String`

The value for CascadeFromField

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList2")
                        .CascadeFrom("DropDownList1")
                        .CascadeFromField("ParentID")
             )
             
```

### CascadeFromParentField(System.String)

Defines the parent field to be used to retain value from. This value will be used further to filter the dataSource. If not defined the value from the parent's dataValueField will be used.

#### Parameters

##### value - `System.String`

The value for CascadeFromParentField

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList2")
                        .CascadeFrom("DropDownList1")
                        .CascadeFromField("ParentID")
                        .CascadeFromParentField("ParentID")
             )
             
```

### DataTextField(System.String)

The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field.

#### Parameters

##### value - `System.String`

The value for DataTextField

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### DataValueField(System.String)

The field of the data item that provides the value of the widget.

#### Parameters

##### value - `System.String`

The value for DataValueField

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .DataTextField("Text")
                        .DataValueField("Value")
            )
             
```

### Delay(System.Double)

Specifies the delay in milliseconds before the search-text typed by the end user is sent for filtering.

#### Parameters

##### value - `System.Double`

The value for Delay

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### Enable(System.Boolean)

If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.

#### Parameters

##### value - `System.Boolean`

The value for Enable

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### EnforceMinLength(System.Boolean)

If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.

#### Parameters

##### value - `System.Boolean`

The value for EnforceMinLength

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .MinLength(3)
                        .Filter("contains")
                        .EnforceMinLength(true)
             )
             
```

### EnforceMinLength()

If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .MinLength(3)
                        .Filter("contains")
                        .EnforceMinLength(true)
             )
             
```

### FilterTitle(System.String)

When filtering is enabled, allows custom title to be defined for the filter input element.

#### Parameters

##### value - `System.String`

The value for FilterTitle

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .FilterTitle("MyFilter")
             )
             
```

### FixedGroupTemplate(System.String)

The template used to render the fixed header group. By default the widget displays only the value of the current group.

#### Parameters

##### value - `System.String`

The value for FixedGroupTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### FixedGroupTemplateId(System.String)

The template used to render the fixed header group. By default the widget displays only the value of the current group.

#### Parameters

##### templateId - `System.String`

The ID of the template element for FixedGroupTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### FixedGroupTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the fixed header group. By default the widget displays only the value of the current group.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for FixedGroupTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### FixedGroupTemplateHandler(System.String)

The template used to render the fixed header group. By default the widget displays only the value of the current group.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for FixedGroupTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### FixedGroupTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the fixed header group. By default the widget displays only the value of the current group.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the fixedgrouptemplate.

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### FooterTemplate(System.String)

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.

#### Parameters

##### value - `System.String`

The value for FooterTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### FooterTemplateId(System.String)

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.

#### Parameters

##### templateId - `System.String`

The ID of the template element for FooterTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### FooterTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for FooterTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### FooterTemplateHandler(System.String)

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for FooterTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### FooterTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the footertemplate.

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### Label(System.String)

Adds a label before the input. If the input has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.

#### Parameters

##### label - `System.String`

The label.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) .

### Label(System.Action)

Adds a label before the input. If the input has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.

#### Parameters

##### configurator - System.Action<[DropDownListLabelSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistlabelsettingsbuilder)>

The configurator for the label setting.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) .

### GroupTemplate(System.String)

The template used to render the groups. By default the widget displays only the value of the group.

#### Parameters

##### value - `System.String`

The value for GroupTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### GroupTemplateId(System.String)

The template used to render the groups. By default the widget displays only the value of the group.

#### Parameters

##### templateId - `System.String`

The ID of the template element for GroupTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### GroupTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the groups. By default the widget displays only the value of the group.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for GroupTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### GroupTemplateHandler(System.String)

The template used to render the groups. By default the widget displays only the value of the group.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for GroupTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### GroupTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the groups. By default the widget displays only the value of the group.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the grouptemplate.

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### Height(System.Double)

The height of the suggestion popup in pixels. The default value is 200 pixels.

#### Parameters

##### value - `System.Double`

The value for Height

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### IgnoreCase(System.Boolean)

If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default.

#### Parameters

##### value - `System.Boolean`

The value for IgnoreCase

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### Messages(System.Action)

The text messages displayed in the widget. Use this option to customize or localize the messages.

#### Parameters

##### configurator - System.Action<[DropDownListMessagesSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistmessagessettingsbuilder)>

The configurator for the messages setting.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) .

### MinLength(System.Double)

The minimum number of characters the user must type before a filter is performed. Set to higher value than 1 if the search could match a lot of items.

#### Parameters

##### value - `System.Double`

The value for MinLength

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .MinLength(3)
             )
             
```

### NoDataTemplate(System.String)

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

#### Parameters

##### value - `System.String`

The value for NoDataTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### NoDataTemplateId(System.String)

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

#### Parameters

##### templateId - `System.String`

The ID of the template element for NoDataTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### NoDataTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for NoDataTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### NoDataTemplateHandler(System.String)

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for NoDataTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### NoDataTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the nodatatemplate.

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### Popup(System.Action)

The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.

#### Parameters

##### configurator - System.Action<[DropDownListPopupSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistpopupsettingsbuilder)>

The configurator for the popup setting.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) .

### OptionLabel(System.Object)

Define the text of the default empty item. If the value is an object, then the widget will use it as a valid data item. Note that the optionLabel will not be available if the widget is empty.

#### Parameters

##### value - `System.Object`

The value for OptionLabel

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .DataTextField("Text")
                        .DataValueField("Value")
                        .OptionLabel(new { Text = "Text1", Value = "Value1" })
             )
             
```

### OptionLabelTemplate(System.String)

The template used to render the option label. Use optionLabelTemplate if you want to customize the markup of the optionLabel.

#### Parameters

##### value - `System.String`

The value for OptionLabelTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .OptionLabelTemplate("#= data #")
             )
             
```

### OptionLabelTemplateId(System.String)

The template used to render the option label. Use optionLabelTemplate if you want to customize the markup of the optionLabel.

#### Parameters

##### templateId - `System.String`

The ID of the template element for OptionLabelTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .OptionLabelTemplateId("widgetOptionLabelTemplateId")
             )
             
```

### OptionLabelTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the option label. Use optionLabelTemplate if you want to customize the markup of the optionLabel.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for OptionLabelTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .OptionLabelTemplateView(Html.Partial("OptionLabelTemplate"))
             )
             
```

### OptionLabelTemplateHandler(System.String)

The template used to render the option label. Use optionLabelTemplate if you want to customize the markup of the optionLabel.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for OptionLabelTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### OptionLabelTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the option label. Use optionLabelTemplate if you want to customize the markup of the optionLabel.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the optionlabeltemplate.

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### Readonly(System.Boolean)

If set to true, the widget will be readonly and will not allow user input. The widget is not readonly be default and allow user input.

#### Parameters

##### value - `System.Boolean`

The value for Readonly

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                    .Name("DropDownList")
                    .Readonly(true);
            )
             
```

### HeaderTemplate(System.String)

Specifies a static HTML content, which will be rendered as a header of the popup element.

#### Parameters

##### value - `System.String`

The value for HeaderTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### HeaderTemplateId(System.String)

Specifies a static HTML content, which will be rendered as a header of the popup element.

#### Parameters

##### templateId - `System.String`

The ID of the template element for HeaderTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### HeaderTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

Specifies a static HTML content, which will be rendered as a header of the popup element.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for HeaderTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### HeaderTemplateHandler(System.String)

Specifies a static HTML content, which will be rendered as a header of the popup element.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for HeaderTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### HeaderTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

Specifies a static HTML content, which will be rendered as a header of the popup element.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the headertemplate.

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### Template(System.String)

The template used to render the items. By default the widget displays only the text of the data item (configured via dataTextField).

#### Parameters

##### value - `System.String`

The value for Template

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### TemplateId(System.String)

The template used to render the items. By default the widget displays only the text of the data item (configured via dataTextField).

#### Parameters

##### templateId - `System.String`

The ID of the template element for Template

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the items. By default the widget displays only the text of the data item (configured via dataTextField).

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for Template

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### TemplateHandler(System.String)

The template used to render the items. By default the widget displays only the text of the data item (configured via dataTextField).

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for Template

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the items. By default the widget displays only the text of the data item (configured via dataTextField).

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the template.

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### ValueTemplate(System.String)

The valueTemplate used to render the selected value. By default the widget displays only the text of the data item (configured via dataTextField).

#### Parameters

##### value - `System.String`

The value for ValueTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .ValueTemplate("#= data #")
             )
             
```

### ValueTemplateId(System.String)

The valueTemplate used to render the selected value. By default the widget displays only the text of the data item (configured via dataTextField).

#### Parameters

##### templateId - `System.String`

The ID of the template element for ValueTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .ValueTemplateId("widgetValueTemplateId")
             )
             
```

### ValueTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The valueTemplate used to render the selected value. By default the widget displays only the text of the data item (configured via dataTextField).

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for ValueTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .ValueTemplateView(Html.Partial("ValueTemplate"))
             )
             
```

### ValueTemplateHandler(System.String)

The valueTemplate used to render the selected value. By default the widget displays only the text of the data item (configured via dataTextField).

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for ValueTemplate

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### ValueTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The valueTemplate used to render the selected value. By default the widget displays only the text of the data item (configured via dataTextField).

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the valuetemplate.

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### Text(System.String)

The text of the widget used when the autoBind is set to false.

#### Parameters

##### value - `System.String`

The value for Text

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .Text("Chai")
                        .AutoBind(false)
             )
             
```

### Value(System.String)

The value of the widget.

#### Parameters

##### value - `System.String`

The value for Value

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### ValuePrimitive(System.Boolean)

Specifies the value binding behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the primitive value of the selected item's field (defined in the dataValueField option).if set to false, the View-Model field will be updated with the selected item - the entire non-primitive object.

#### Parameters

##### value - `System.Boolean`

The value for ValuePrimitive

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### ValuePrimitive()

Specifies the value binding behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the primitive value of the selected item's field (defined in the dataValueField option).if set to false, the View-Model field will be updated with the selected item - the entire non-primitive object.

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### Virtual(System.Action)

Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.

#### Parameters

##### configurator - System.Action<[DropDownListVirtualSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistvirtualsettingsbuilder)>

The configurator for the virtual setting.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) .

### Virtual()

Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.

#### RETURNS

Returns the current instance of [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) .

### Virtual(System.Boolean)

Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.

#### Parameters

##### enabled - `System.Boolean`

Enables or disables the virtual option.

#### RETURNS

Returns the current instance of [DropDownListVirtualSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistvirtualsettingsbuilder) .

### Filter(Kendo.Mvc.UI.FilterType)

The filtering method used to determine the suggestions for the current value. Filtration is turned off by default.

#### Parameters

##### value - [FilterType](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/filtertype)

The value for Filter

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .Filter(FilterType.Contains);
             )
             
```

### Size(Kendo.Mvc.UI.ComponentSize)

Sets the size of the component.

#### Parameters

##### value - [ComponentSize](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/componentsize)

The value for Size

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### Rounded(Kendo.Mvc.UI.Rounded)

Sets a value controlling the border radius.

#### Parameters

##### value - [Rounded](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/rounded)

The value for Rounded

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
             @(Html.Kendo().DropDownList()
                         .Name("DropDownList")
                         .Rounded(Rounded.Medium)
            
              )
              
```

### FillMode(Kendo.Mvc.UI.FillMode)

Sets a value controlling how the color is applied.

#### Parameters

##### value - [FillMode](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/fillmode)

The value for FillMode

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                        .Name("DropDownList")
                        .FillMode(FillMode.Solid)
             )
             
```

### AdaptiveMode(Kendo.Mvc.UI.AdaptiveMode)

Specifies the adaptive rendering of the component.

#### Parameters

##### value - [AdaptiveMode](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/adaptivemode)

The value for AdaptiveMode

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

### Events(System.Action)

Configures the client-side events.

#### Parameters

##### configurator - System.Action<[DropDownListEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlisteventbuilder)>

The client events action.

#### RETURNS

Returns the current [DropDownListBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownlistbuilder) instance.

#### Example

```
 
            @(Html.Kendo().DropDownList()
                  .Name("DropDownList")
                  .Events(events => events
                      .Change("onChange")
                  )
            )
             
```

### UseMvvmInitialization(System.Boolean)

Specifies if the component should be initialized through MVVM on the client.

#### Parameters

##### value - `System.Boolean`

The value.

#### RETURNS

Returns the current  instance.

### UseMvvmInitialization()

Specifies if the component should be initialized through MVVM on the client.

#### RETURNS

Returns the current  instance.

### ToComponent()

Returns the internal view component.

#### RETURNS

The  instance that represents the component.

### Expression(System.String)

Sets the name of the component.

#### Parameters

##### modelExpression - `System.String`

The name.

#### RETURNS

Returns the current  instance.

### Explorer(Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer)

Sets the name of the component.

#### Parameters

##### modelExplorer - `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer`

The name.

#### RETURNS

Returns the current  instance.

### Name(System.String)

Sets the name of the component.

#### Parameters

##### componentName - `System.String`

The name.

#### RETURNS

Returns the current  instance.

### Deferred(System.Boolean)

Suppress initialization script rendering. Note that this options should be used in conjunction with Kendo.Mvc.UI.Fluent.WidgetFactory.DeferredScripts(System.Boolean,System.Boolean)

#### Parameters

##### deferred - `System.Boolean`

#### RETURNS

Returns a [DeferredWidgetBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/deferredwidgetbuilder) instance.

### HtmlAttributes(System.Object)

Sets the HTML attributes.

#### Parameters

##### attributes - `System.Object`

The HTML attributes.

#### RETURNS

Returns the current  instance.

### HtmlAttributes(System.Collections.Generic.IDictionary)

Sets the HTML attributes.

#### Parameters

##### attributes - `System.Collections.Generic.IDictionary<String,Object>`

The HTML attributes.

#### RETURNS

Returns the current  instance.

### ScriptAttributes(System.Object,System.Boolean)

Sets the JavaScript attributes to the initialization script.

#### Parameters

##### attributes - `System.Object`

The JavaScript attributes.

##### overrideAttributes - `System.Boolean`

Argument which determines whether attributes should be overriden.

#### RETURNS

Returns the current  instance.

### ScriptAttributes(System.Collections.Generic.IDictionary,System.Boolean)

Sets the JavaScript attributes to the initialization script.

#### Parameters

##### attributes - `System.Collections.Generic.IDictionary<String,Object>`

The JavaScript attributes.

##### overrideAttributes - `System.Boolean`

Argument which determines whether attributes should be overriden.

#### RETURNS

Returns the current  instance.

### Render()

Renders the component in place.

### ToHtmlString()

Returns the HTML representation of the component.

### WriteTo(System.IO.TextWriter,System.Text.Encodings.Web.HtmlEncoder)

#### Parameters

##### writer - `System.IO.TextWriter`

##### encoder - `System.Text.Encodings.Web.HtmlEncoder`

### ToClientTemplate()

Returns the client template for the component.

### AsModule(System.Boolean)

Specifies whether the initialization script of the component will be rendered as a JavaScript module.

#### Parameters

##### value - `System.Boolean`

#### RETURNS

Returns the current  instance.
