Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Item deletion (Read 2790 times)
ctp
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Oct 19th, 2010
Item deletion
Oct 19th, 2010 at 12:36pm
Print Post  
Hi all,

How can I prevent a user from deleting an item by pressing the Del key?
Or can I stop the deletion process in the item.deleting event ?

TIA,
ctp
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Item deletion
Reply #1 - Oct 19th, 2010 at 1:01pm
Print Post  
Hi,

Handle the Calendar.ItemDeleting event and set the Confirm property of the accompanying event argument to false. In case you are deleting recurring items, you will need to handle the Calendar.RecurringItemDeleting event instead.

Let me know if this helps.

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


I love YaBB 1G - SP1!

Posts: 3
Joined: Oct 19th, 2010
Re: Item deletion
Reply #2 - Oct 19th, 2010 at 1:33pm
Print Post  
Yes, that helps. Thank you.

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