Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Required]
- [DataType(DataType.Date)]
- [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
- [DisplayName(Constants.DisplayName.HolidayYear)]
- public virtual DateTime HolidayYear { get; set; }
- <div class="row">
- <div class="col-md-3">
- <label for="" class="control-label">
- Year
- </label>
- <br />
- @Html.EditorFor(model => model.HolidayYear, new { @class = "form-control"
- }).DisableIf(() => Model.IsReadOnly == true)
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement