Esempio n. 1
0
 public static Kendo.Mvc.UI.Fluent.DatePickerBuilder DatePickerCr(this HtmlHelper helper, string name, StartCalendar startFrom, DateTime defaultValue, IDictionary <string, object> htmlAttributes, string formatDate = _format, string culture = _culture)
 {
     return(helper.Kendo().DatePicker()
            .Name(name)
            .Start((CalendarView)startFrom)
            .Value(defaultValue)
            .Culture(culture)
            .Format(formatDate)
            .HtmlAttributes(htmlAttributes));
 }
Esempio n. 2
0
 public static Kendo.Mvc.UI.Fluent.DatePickerBuilder DatePickerCr(this HtmlHelper helper, string name, StartCalendar startFrom, DateTime maxDate, DateTime minDate, DateTime defaultValue, object htmlAttributes, string footerText, string formatDate = _format, string culture = _culture)
 {
     return(helper.Kendo().DatePicker()
            .Name(name)
            .Max(maxDate)
            .Min(minDate)
            .Start((CalendarView)startFrom)
            .Value(defaultValue)
            .Culture(culture)
            .Format(formatDate)
            .HtmlAttributes(htmlAttributes)
            .Footer(footerText));
 }