Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic cancelling ItemCreating breaks Update (Read 3663 times)
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
cancelling ItemCreating breaks Update
Feb 8th, 2010 at 1:04pm
Print Post  
just create a ItemCreating event handler in the CustomItemTemplates demo:

Code
Select All
private void calendar_ItemCreating(object sender, ItemConfirmEventArgs e)
{
e.Confirm = e.Item.StartTime > DateTime.Now;
} 



Start the app, select a range before the current time and hit a key (which would create a new item but which gets cancelled by the event).
Now change the CurrentView with the combo (without clicking somewhere inside the Calendar first) for example to ResourceView and nothing will happen. But when trying to move items around or trying to do a new selection you'll notice that the calendar indeed is in ResourceView mode.

It also skips now adding of new resources (when in grouped mode), or won't update the day headers in TimeTableView with enabled navigation buttons.
  

/\/\arkus.
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: cancelling ItemCreating breaks Update
Reply #1 - Feb 8th, 2010 at 2:34pm
Print Post  
This is a bug. We will try to get it fixed as soon as possible.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: cancelling ItemCreating breaks Update
Reply #2 - Feb 8th, 2010 at 3:27pm
Print Post  
A new version of the control can be downloaded from here:

https://mindfusion.eu/_pln_trial/MindFusion.Scheduling.Wpf.2.1f.zip

In addition to a fix of the above problem, this version also implements some of the previously requested features - Calendar.ResourceView*TimelineClick set of events for the three resource view timelines, Calendar.MonthWeekHeaderClick fix and CLS compliance come to mind.

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


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
Re: cancelling ItemCreating breaks Update
Reply #3 - Feb 8th, 2010 at 5:14pm
Print Post  
Works all very well so far  Cheesy
  

/\/\arkus.
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint