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

designer code error and bug with Calendar.SelectedDates

Thread ID:





119746 Jul 28,2015 06:19 AM UTC Aug 11,2015 12:01 PM UTC WinForms 3
Tags: DateTimePickerAdv
Tim Watkins
Asked On July 28, 2015 06:19 AM UTC


In moving my project to Visual Studio 2015 I've been unable to open forms in the designer with a DateTimePickerAdv control.

Specifically, the following designer generated line of code creates the error "The designer cannot process the code at line ...":

DateTimePickerAdv1.Calendar.SelectedDates = New Date(-1) {}

Removing this line of code allows the form to be opened in the designer but the code is regenerated as above whenever the form is saved again (with any change).

I've tried setting the Calendar.SelectedDates in the designer but it isn't saved in any way. Is this a bug?


Saravanan T [Syncfusion]
Replied On July 29, 2015 12:41 PM UTC

Hi Tim,

Thank you for using Syncfusion products.

We are able to reproduce the reported behavior. A support incident #142050 has been created under your account to track the status of the behavior. Our support engineer will assist you through incident under your Direct Trac account. Please log on to our support website to check for further updates.


Please let us know if you need any further assistance on this.

Saravanan T

Wilfried Walpot
Replied On August 10, 2015 06:21 AM UTC

I have something like the same issue, a problem with opening a form with a DateTimePickerAdv on it, I also get the same issue with "The designer..."

Is there any news about it?
As it seems some kind of general issue?

kind regards


Senthil Kumaran Rajan [Syncfusion]
Replied On August 11, 2015 12:01 PM UTC

Hi Wilfried,

We were able to reproduce the problem and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates


Please let me know if you have any questions.



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