InitializeDatepickerCulture()

Returns a DatepickerCulture initialized to the current UI culture.

InitializeDatepickerCulture(System.Globalization.CultureInfo culture)

Returns a DatepickerCulture initialized to the specified culture.

Parameters

culture The culture.

Datepicker(string name)

Returns a datepicker with the specified form field name.

Parameters

name The name of the form field.

Datepicker(string name, System.Nullable<System.DateTime> value)

Returns a datepicker with the specified form field name and value.

Parameters

name The name of the form field.
value The value.

Datepicker(string name, System.Nullable<System.DateTime> value, object htmlAttributes)

Returns a datepicker with the specified form field name, value and HTML attributes.

Parameters

name The name of the form field.
value The value.
htmlAttributes An object that contains the HTML attributes.

DatepickerFor<TProperty>(System.Linq.Expressions.Expression<System.Func<TModel, TProperty>> expression)

Returns a datepicker initialized using the property represented by the specified expression.

Type Parameters

TProperty The type of the property.

Parameters

expression The expression that identifies the property.

DatepickerFor<TProperty>(System.Linq.Expressions.Expression<System.Func<TModel, TProperty>> expression, object htmlAttributes)

Returns a datepicker initialized using the specified HTML attributes and the property represented by the specified expression.

Type Parameters

TProperty The type of the property.

Parameters

expression The expression that identifies the property.
htmlAttributes An object that contains the HTML attributes.