Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Select date from code (Read 2265 times)
SLUser
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 34
Joined: Dec 7th, 2012
Select date from code
Dec 21st, 2012 at 10:49am
Print Post  
When an appointment is selected, I would also like the day to be selected.
I subscribed to the event ItemSelectionChanged and tried this code, but it doesn't seem to work, visually no selection is shown at all.

cal.Selection.Reset();
cal.Selection.Add(e.Item.StartTime.Date, e.Item.StartTime.Date.AddDays(1));

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint