Info
Version: | 1.2.0 |
Author(s): | Edgar |
Last Update: | Friday, March 28, 2014 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/DatePickerHTMLHelper |
Install
Install-Package DatePickerHTMLHelper
dotnet add package DatePickerHTMLHelper
paket add DatePickerHTMLHelper
DatePickerHTMLHelper Download (Unzip the "nupkg" after downloading)
Dependencies
- bootstrap(3.1.1)
- Bootstrap.Datepicker(1.3.0)
Tags
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").