DatePickerHTMLHelper 1.2.0

dotnet add package DatePickerHTMLHelper --version 1.2.0
NuGet\Install-Package DatePickerHTMLHelper -Version 1.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DatePickerHTMLHelper" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DatePickerHTMLHelper --version 1.2.0
#r "nuget: DatePickerHTMLHelper, 1.2.0"
#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 DatePickerHTMLHelper as a Cake Addin
#addin nuget:?package=DatePickerHTMLHelper&version=1.2.0

// Install DatePickerHTMLHelper as a Cake Tool
#tool nuget:?package=DatePickerHTMLHelper&version=1.2.0

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")

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 12,898 3/28/2014
1.1.3 1,317 3/25/2014
1.1.2 1,114 3/25/2014
1.1.1 1,136 3/25/2014
1.1.0 1,091 3/25/2014
1.0.0 1,114 3/19/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.