DatePicker.HTMLHelper 1.2.2

There is a newer version of this package available.
See the version list below for details.
Install-Package DatePicker.HTMLHelper -Version 1.2.2
dotnet add package DatePicker.HTMLHelper --version 1.2.2
<PackageReference Include="DatePicker.HTMLHelper" Version="1.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DatePicker.HTMLHelper --version 1.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DatePicker.HTMLHelper, 1.2.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DatePicker.HTMLHelper as a Cake Addin
#addin nuget:?package=DatePicker.HTMLHelper&version=1.2.2

// Install DatePicker.HTMLHelper as a Cake Tool
#tool nuget:?package=DatePicker.HTMLHelper&version=1.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This package will install a MVC's HTML Helper for Bootstrap DatePickers, fully functional with DateTime fields from Models and easy to use, to use in with Bootstrap and Bootstrap.DatePicker's packages.

Usage on the View:

@Html.DatePickerFor(model => model.Date)

If you want to set Data API custom attributes, according to Bootstrap's Data API for DatePickers, you can set optionally in strings, separated by the = character, as below:

@Html.DatePickerFor(model => model.Date, "autoclose=true", "todayBtn=true", "todayHighlight=true")

NuGet packages (1)

Showing the top 1 NuGet packages that depend on DatePicker.HTMLHelper:

Package Downloads
Bootstrap.HTMLHelpers

This package will install a bunch of HTML Helpers for your MVC Application.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.2.1 28,486 5/14/2014
1.2.2 851 5/14/2014
1.2.1 914 4/1/2014
1.2.0 1,362 3/25/2014

This version will support only a very simple text input and the date calendar, without the component, Embedded/inline or Range types from Bootstrap.Datepicker's NuGet package.