We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Making the schedule control readonly

Thread ID:





71629 Feb 7,2008 06:27 PM UTC Feb 8,2008 01:33 AM UTC WinForms 2
Tags: ScheduleControl
Jeff Lancaster
Asked On February 7, 2008 06:27 PM UTC

How can I make the control readonly? I need to be able to programatically add items to the schedule and display them in the calendar, but I don't want the user to be able to click on a day and add or modify items.

Sri Rajan [Syncfusion]
Replied On February 7, 2008 11:33 PM UTC

Hi Jeff,

Thank you for your interest in Syncfusion products.

To make the Schedule control read-only, you have to prevent the opening of Appointment form. To achieve this, you need to cancel ScheduleAppointmentClick event of the Schedule. Please refer the code below for more details.

private void scheduleControl1_ScheduleAppointmentClick(object sender, ScheduleAppointmentClickEventArgs e)
e.Cancel = true;

Please let me know if this helps.


Jeff Lancaster
Replied On February 8, 2008 01:33 AM UTC

Thank you Srirajan,

That works great.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon