Skip to main content

BuilderFactoryExtensions.BootstrapDateEdit(BuilderFactory, String) Method

Creates a Date Edit control with a specified name.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll

Declaration

public static BootstrapDateEditBuilder BootstrapDateEdit(
    this BuilderFactory builderFactory,
    string name
)

Parameters

Name Type Description
builderFactory BuilderFactory

A BuilderFactory object providing access to Date Edit settings.

name String

A control name.

Returns

Type Description
BootstrapDateEditBuilder

A builder for a Date Edit control.

Remarks

IMPORTANT

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

The code sample below demonstrates how you can use this method to create a Date Edit control.

@(Html.DevExpress()
    .BootstrapDateEdit("dateEditDefault")
    .Value("01/01/2017")
)
See Also