Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ItemCreated-Event (Read 3846 times)
alexus
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Oct 6th, 2010
ItemCreated-Event
Oct 6th, 2010 at 8:16am
Print Post  
Hello,

i´m just testing the Schedule-Module for an upcoming project and i cant get the ItemCreated-Event working.

e.g. : i modified the 'RessourceView'-Sample with:

Code
Select All
<planner:Calendar Name="_calendar" ... EnableDragCreate="True" ItemCreated="_calendar_ItemCreated" >
 



The event is neither fired when creating an item via drag&drop nor when creating via double-click and using the input-mask

Am I using the wrong event or is it a bug?

greetings
alexus
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: ItemCreated-Event
Reply #1 - Oct 6th, 2010 at 9:03am
Print Post  
Hi,

By design, the Calendar.ItemCreated event should be raised when the user creates an item interactively.

In this sample, when the user creates an item through the Resource form by double-clicking in the calendar, the item is added programmatically (within the OkButton_Click method of the ResourceWindow class) and therefore the event is not raised. However, when an item is created through dragging (with EnableDragCreate = true) the event should be raised. The later is a bug. I will look into it and update you when I have more information.

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


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: ItemCreated-Event
Reply #2 - Oct 6th, 2010 at 12:00pm
Print Post  
Could you try with the version below and see if the event works?

https://mindfusion.eu/_pln_trial/MindFusion.Scheduling.Wpf.2.2b.zip

Regards,
Meppy
  
Back to top
 
IP Logged
 
alexus
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Oct 6th, 2010
Re: ItemCreated-Event
Reply #3 - Oct 6th, 2010 at 12:23pm
Print Post  
The new version works fine.

I´m really impressed so far by the whole Module. I will convince my boss, that we should take this one. Great Control! Great Service! Great Work!

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