I am using the client side double click event to show a custom appointment form.
How do i get the date-time on which user clicked in the month view, week view(dayview with visible days set to 7) and day view.
For month view (and old week view) i used the code snippet mentioned in this post http://blogs.infragistics.com/forums/t/41180.aspx, but this works only when user clicks on the header.
I am using the latest infragistics release (2011 volume 2)
I am currently working on a sample. I will get back to you by Monday. If you have any questions, please let me know
I suggest using the ActiveDayUTC property of WebScheduleInfo. ActiveDayUTC represents the current and day.
For more information regarding this property, you may refer to the following documents:
If you have any questions, please let me know as well.
Also will ActiveDay return the correct date on which the user double clicked in case of month view and weekview (day view with visible days set to 7).
ActiveDayUTC property holds the date that is in focus within the UI, thus it is rendered by WebMonthView. As different dates are clicked, the value of the ActiveDay changes accordingly.
To access the ActiveDay value in the client side event, and be on the safe side, you may have to set ActiveDayClientSynchronization property to Always. ActiveDaySycnchronization property determines how the WebSchedule elements attached to WebScheduleInfo synchronize their active day on the client side.
You may refer to the following documents for more details on ActiveDayClientSynchronization property:
On double click event you may reference the ActiveDay By using the following:
For additional information on WebScheduleInfo and WebMonthView CSOMs, please refer to the following document:
Please let me know if you have any questions.