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