Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Disabling multi-select in time table (Read 2482 times)
john6630
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 74
Joined: Sep 20th, 2010
Disabling multi-select in time table
May 13th, 2011 at 4:35am
Print Post  
Hi,
I want to prevent the user from ctrl-click to select multiple appointments in a timetable view. I tried setting the Selection/Allow Multiple to disabled but I can still ctrl-click to select multiple items.

Thanks,
John
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Disabling multi-select in time table
Reply #1 - May 13th, 2011 at 5:55am
Print Post  
Selection.AllowMultiple only affects the selection of cells, not items. In order to control item selection you need to handle the Calendar.ItemSelecting event and for example set Confirm to false if Calendar.ItemSelection already contains items, or clear Calendar.ItemSelection so that only the new item remains selected.

Let me know if this helps.

Regards,
Meppy
  
Back to top
 
IP Logged
 
john6630
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 74
Joined: Sep 20th, 2010
Re: Disabling multi-select in time table
Reply #2 - May 13th, 2011 at 1:55pm
Print Post  
Works great. Thanks.

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