I'm getting a client-side error with the RadTimeView client-side component:
_setTimeMatrix
var tableElement = this._findTableElement(this.DivElement); //This line returns null, so rows is empty
var tableRowLength = tableElement.rows.length;
I'm using your RadControlsExtensions to render these controls... Is there something I may be missing? I have a reference to Html.RadControlScripts<RadTimeView> in my view and a RadScriptManager:
<%= Html.RadControlScripts<RadCalendar>() %>
<%= Html.RadControlScripts<RadDateInput>() %>
<%= Html.RadControlScripts<RadTimeView>() %>
<%= Html.RadControlScripts<RadTextBox>() %>
<%= Html.RadControlCss<RadDateTimePicker>() %>
<%= Html.RadControlScripts<RadDateTimePicker>() %>
<%= Html.RadControlCss<RadComboBox>() %>
<%= Html.RadControlScripts<RadComboBox>() %>
<%= Html.RadControl<RadDateTimePicker>((rad) =>
{
rad.ID = "StartDate";
}) %>
6 Answers, 1 is accepted
Thanks.
Could you please send us a working sample project which reproduces the depicted issue. Thus I will review it locally and advice you further.
Regards,
Georgi Krustev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I have answer in the support thread opened on the same matter:
After I reviewed your test project I noticed that some CSS styles are not loaded. Please examine the attached test project which introduces working RadTimePicker in MVC enviroment. In this current example the RadScriptManager should be placed in the begging of the page.
Kind regards,
Georgi Krustev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.