I am using WebMonthView and WebScheduleInfo. I am pulling the information from the database and it is loading correctly.
What I need to do is to click on a day in the calendar control.
Once I click on the day here is the information I need to have access to.
The current Date, so if I click on the 14th of November, I will need to have that date.
I need to know if that date has any activities/appointments scheduled.
I need to know how many appointment/activities are scheduled.
And I will need a way to loop through each appointment.
Bonus if this is possible! (no where near as important as the items above however)
Is it possible to see which button was clicked (Left/Right) and to see if this click resulted from a mobile phone or a tablet?
Hi OmegaPrime,
This can be achieved using the ActiveDayChanged client-side event, for example:
You can get the button which is clicked in MouseDown event:
It should be “0” for left and “2” for right mouse button.
To check if the page is viewed from mobile device, you could use the navigator.userAgent property. Here is an article which may be helpful - http://msdn.microsoft.com/en-us/library/ms537503(v=vs.85).aspx.
Please let me know if this helps.
Thank you very much!
If you have any further questions, please let me know.
Hi Nikolay,
I want to achieve the same thing but in a slightly different way, that is, when an activity is clicked i need to get the activity details, and can this be possible using javascript?
I need to know which activity was clicked and get the activities details of the clicked activity.
Thanks
Aown
Hi Aown,
It seems that it is not possible to determine which activity is clicked. You could only get the active day and iterate through all activities as shown above.