This question is locked. New answers and comments are not allowed.
Hi,
Is the TimePicker not usable for grids? I'm getting an error 'jQuery("#StartDateTime").tTimePicker is not a function'.
I configured the field's metadata as:
I have a Time.ascx template as:
My view declares the column as:
Interestingly, if I change the type in Time.ascx to DatePicker, it works as expected.
Please help.
Thanks,
Paul
Is the TimePicker not usable for grids? I'm getting an error 'jQuery("#StartDateTime").tTimePicker is not a function'.
I configured the field's metadata as:
[DataType(DataType.Time)]
public
object
StartDateTime {
get
;
set
;
}
I have a Time.ascx template as:
<%@ Control Language=
"C#"
Inherits=
"System.Web.Mvc.ViewUserControl<DateTime>"
%>
<%= Html.Telerik().TimePicker()
.Name( ViewData.TemplateInfo.GetFullHtmlFieldName(
string
.Empty) )
.ShowButton(
false
)
.Interval(15)
.Value(Model > DateTime.MinValue? Model : DateTime.Today)%>
My view declares the column as:
columns.Bound( s => s.StartDateTime ).Width( 70 ).Title( ShiftScheduleResources.StartDateTime );
Interestingly, if I change the type in Time.ascx to DatePicker, it works as expected.
Please help.
Thanks,
Paul