Problem with RadScheduler1.DataBind()

5 posts, 0 answers
  1. Joswhar
    Joswhar avatar
    11 posts
    Member since:
    Apr 2012

    Posted 06 Jun 2012 Link to this post

    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.
  2. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 07 Jun 2012 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Andy
    Andy avatar
    7 posts
    Member since:
    Oct 2012

    Posted 08 Nov 2012 Link to this post

    I am also having this issue.

    Please instruct me on the workaround.
  5. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 12 Nov 2012 Link to this post

    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.
  6. Andy
    Andy avatar
    7 posts
    Member since:
    Oct 2012

    Posted 12 Nov 2012 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready