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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

HOW TO REMOVE THE AUTOMATIC SELECTION DATES IN CONTROL SCHEDULE?

Thread ID:

Created:

Updated:

Platform:

Replies:

116906 Jun 27,2014 02:43 PM UTC Jul 8,2014 05:30 PM UTC WinForms 3
loading
Tags: ScheduleControl
Juan Zavala
Asked On June 27, 2014 02:43 PM UTC

HELLO Syncfusion. 
I AM WORKING WITH CONTROL SCHEDULE, TO MULTIPLE CHOICE OF DATES, BUT I REALIZE THAT DAY YOU CHOOSE IN A MONTH, IS SELECTED IN THE NEXT MONTH AUTOMATICALLY. 
THERE IS A WAY TO REMOVE THIS PROPERTY?

THANKS & REGARDS.

Muthukumar Kalyanasundaram [Syncfusion]
Replied On July 2, 2014 10:47 AM UTC

Hi Juan,

 

Thank you for your interest in Syncfusion products.

 

The automatic selection of dates in calendar when switchover to next month in the schedule control can be resolved  by using DateValueChanged event. You can make use of below code within that event,

 

Code Snippet:

 

            this.scheduleControl1.Calendar.SelectedDates.Clear();           

 

Please let us know if you have any concern.

 

Regards,

Muthukumar K


Juan Zavala
Replied On July 3, 2014 05:34 PM UTC

HI MUTHUKUMAR, THANKS BY OYUR ANSWER.
BUT, WHERE HAVE OTHER QUESTIONS ABOUT THIS EVENT IS DATEVALUECHANGED, you mention, SEEKING TREATMENT IN THE EVENT LIST OF CONTROL AND HE COULD NOT FIND. 
HELP ME IF YOU COULD you QUESTION AS SET,'d really appreciate it.

THANKS AND REGARDS.

Muthukumar Kalyanasundaram [Syncfusion]
Replied On July 8, 2014 05:30 PM UTC

Hi Juan,

 

Regret for the delay.

 

The selection of dates in calendar when switchover to next month in the schedule control can be resolved  by using DateValueChanged event. You can make use of below code within that event, 

 

Code Snippet:

 

 this.scheduleControl1.Calendar.DateValueChanged += new DateValueChangedEventHandler(Calendar_DateValueChanged);

 

void Calendar_DateValueChanged(object sender, EventArgs e)

        {

            scheduleControl1.PerformSwitchToScheduleViewTypeClick(ScheduleViewType.Month);

            this.scheduleControl1.Calendar.SelectedDates.Clear();

 

        }

 

Please let us know if you have any concern.

 

Regards,           

Muthukumar K


CONFIRMATION

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.

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

;