radTimePicker API documentation error

2 posts, 0 answers
  1. Roger
    Roger avatar
    183 posts
    Member since:
    Sep 2007

    Posted 27 Mar 2008 Link to this post

    in the documentation under r.a.d. calendar V2.2 help -> Time Picker -> Client - Side API, there is a section there with a code sample:

    Getting/Setting the time client-side

    RadTimeView exposes a rich client-side API that allows you to control its behavior. You can manipulate the time selection by using the GetDate() / SetDate() methods:

    JavaScript Copy Code
    var radTimePicker = <%= RadTimePicker1.ClientID %>;
    var timeView = radTimePicker.GetTimeView();
    var time = timeView.GetDate();

    the last line is incorrect and should read :
    var time = timeView.GetTime();

    as the RadTimePicker does not have a GetDate() function and if you copy the code as presented her it will not work.

  2. Yavor
    Yavor avatar
    11 posts

    Posted 28 Mar 2008 Link to this post

    Hello Roger,

    The discrepancy that you mentioned has already been corrected. Thank you for letting us know.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top