Print Page | Close Window

SOLVED : Disable Editing on Calendar events

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=13499
Printed Date: 20 December 2025 at 6:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED : Disable Editing on Calendar events
Posted By: cmdbarSys
Subject: SOLVED : Disable Editing on Calendar events
Date 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);




Replies:
Posted By: cmdbarSys
Date Posted: 25 February 2009 at 6:04pm
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)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net