C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

selected time

rated by 0 users
This post has 2 Replies | 2 Followers

Not Ranked
Posts 4
enigma1234 Posted: Sun, May 31 2009 4:45 AM

 Hi,

 i am trying to implement custom dialog form for adding appointments. what i want to accomplish is when a user select some time interval (i use day view) start and end time automaticly get filled in coresponding field on a custom dialog (like they do in original dialog).

 problem is that i am not able to find how to reference the start and end time. funny, i could easily find the oData.startDate and oData.endDate values but for time nothing and i am sure this is posible at least becouse the orginal dialog form works like that. so, please help

 

regards

Top 25 Contributor
Posts 372

 Hello,

The Start/End Date and Start/End Time are combined into Start and End for appointments.  Start and End are of a DateTime data type and formatted as "mm/dd/yyyy hh:mm:ss am/pm".  If this is not the case, what version of the control are you using?  I hope this helps.

Regards,

   -Raleigh

Not Ranked
Posts 4

Hello,

this is true if i have appointment created. then i can refrence the date and time as odata.appt.start or end. but the thing is that i need the time information after i select the time range (before appointment is created). i can reference the odata.startDate but as i said its only date without time. i  am not sure if i missing something but i would need advice how to reference start and end time of selected time range

 

regards

Page 1 of 1 (3 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.