Hi,
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:
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.
Regards
Roger
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.
Regards
Roger