Error with RadDateTimePicker

Thread is closed for posting
7 posts, 1 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 25 Nov 2009 Link to this post

    Hello,

    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";

    }) %>

  2. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 30 Nov 2009 Link to this post

    Am I missing something because I split the control into separate RadDatePicker and RadTimePicker controls, and I see the text: open the control window popup and the calendar that appears is not styled....  what am I missing?

    Thanks.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 30 Nov 2009 Link to this post

    I was missing something; I was missing some CSS references which caused the issue.
  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 30 Nov 2009 Link to this post

    Hello Brian,

    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.
  6. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 30 Nov 2009 Link to this post

    I'm going to submit a support ticket with the test code.
  7. Answer
    Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 01 Dec 2009 Link to this post

    Hello Brian Mains,

    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.
  8. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 01 Dec 2009 Link to this post

    Yes much better ,thanks.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017