SOLVED : Disable Editing on Calendar events |
Post Reply |
Author | |
cmdbarSys
Groupie Joined: 30 July 2008 Status: Offline Points: 15 |
Post Options
Thanks(0)
Posted: 25 February 2009 at 5:46pm |
I want to disable editing on Calendar events. The users should not be able to change the subject or drag it or change the size of a Calendar event. How do I do this? I did not find any property as such for the CalendarEvent object which would disable editing.
CalendarEvent NewEvent;
NewEvent = calCalendar.DataProvider.CreateEvent(); NewEvent.AllDayEvent = true;NewEvent.Subject = "abcd"; NewEvent.StartTime = StartDate; NewEvent.Label = 1;
calCalendar.DataProvider.AddEvent(NewEvent); |
|
cmdbarSys
Groupie Joined: 30 July 2008 Status: Offline Points: 15 |
Post Options
Thanks(0)
|
Just figured it out by using the following event
private void calCalendar_IsEditOperationDisabled(object sender, AxXtremeCalendarControl._DCalendarControlEvents_IsEditOperationDisabledEvent e)
{ e.bDisableOperation = true;} |
|
Product: Xtreme SuitePro ActiveX v13.1.0
Platform: Windows Vista Business(32bit) - SP 2 Language: Visual C#(Visual Studio 2008) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |