This is a migrated thread and some comments may be shown as answers.

Problem with RadScheduler1.DataBind()

4 Answers 85 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Joswhar
Top achievements
Rank 2
Joswhar asked on 06 Jun 2012, 06:28 PM
Hello, 

I have a problem with the RadScheduler.

i need to refresh the RadScheduler from the database and when trying to use the method  DataBind gives the following error: Collection was modified; enumeration operation may not execute.

I appreciate any help.

thanks.

4 Answers, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 07 Jun 2012, 03:00 PM
Hi Joshwar,

Thank you for contacting us.

This error occurs due to the specific way that RadScheduler handles input. It has already been reported and has been logged in our Public Issue Tracking System. Here you can find the PITS entry. We will address this in a future release. For the time being, I can try to provide you with a workaround, but it strongly depends on the implementation details of your project and the exact scenario in which you are getting the exception. If you can send me a sample project which demonstrates it, I will gladly assist you in solving the issue.

Please let me know if you need further help or if you have any additional questions.

Greetings,
Ivan Todorov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Andy
Top achievements
Rank 1
answered on 08 Nov 2012, 06:52 PM
I am also having this issue.

Please instruct me on the workaround.
0
Ivan Todorov
Telerik team
answered on 12 Nov 2012, 01:29 PM
Hello Andrew,

As you can see, the PITS item has already been resolved. If you are getting this issue and you have a version later than 2012 Q2 SP1, then this might be another issue and I would ask you to open a new support ticket and share more details on reproducing it.

Generally, the workaround would be to put try-catch blocks on the proper places but these can vary depending on your implementation. Therefore, I strongly recommend to upgrade if you are using an older version.

Hope this helps. Do not hesitate to write back in case you have any further questions.

Greetings,
Ivan Todorov
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Andy
Top achievements
Rank 1
answered on 12 Nov 2012, 01:48 PM
Thanks for the reply. Over the weekend, I figured out that the Navigator was resetting the timezone ( which is another issue of which I've posted a question ) and was causing the appointment times to become skewed which in turn were causing that exception to propagate. 

I temporarily fixed the timezone skewing and that has corrected this problem. I'm now trying to figure out why the time zone keeps getting reset.
Tags
Scheduler and Reminder
Asked by
Joswhar
Top achievements
Rank 2
Answers by
Ivan Todorov
Telerik team
Andy
Top achievements
Rank 1
Share this question
or