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

how to change month on-demand ?

Thread ID:





74746 Jun 26,2008 02:53 PM UTC Jun 26,2008 04:19 PM UTC WinForms 2
Tags: ScheduleControl
Administrator [Syncfusion]
Asked On June 26, 2008 02:53 PM UTC

I am new to syncfusion schedule.

currently,I make a schedule control as month view type on the form and load whole year's items into scheduleProvider.

I also hide the caption panel and navigation panel to fit my layout.

now,I want to change the month on-demand.

I tried to chage ScheduleControl1.Calendar.DateValue property.

but it does'nt work.

can you give me some advance?

Administrator [Syncfusion]
Replied On June 26, 2008 03:37 PM UTC

Try code like this. It also sets the appropriate date in the Navigation Calendar.

this.scheduleControl1.Calendar.DateValue = DateTime.Now.Date;
this.scheduleControl1.Calendar.Today = DateTime.Now.Date;

//use begin/endupdates avoid possible blinking
//clear the selected dates in the calendar and set the desired dates

Administrator [Syncfusion]
Replied On June 26, 2008 04:19 PM UTC

thanks for your quick answering. :)

by the way, I really feel a bit surprised cause this action needs so many lines of code as your answering.


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

This page will automatically be redirected to the 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