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

GeneratorPosition '-1,1' passed to Remove does not have Offset equal to 0

3 Answers 53 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Aaron Graham
Top achievements
Rank 1
Aaron Graham asked on 16 Jun 2010, 06:07 PM
I am currently having the following exception occur when handling a mousedown event on a carousel.
An unhandled exception of type 'System.ArgumentException' occurred in PresentationFramework.dll
Additional information: GeneratorPosition '-1,1' passed to Remove does not have Offset equal to 0.

I believe it may be due to me rebuilding the carousel at the same time.  I am still debugging and researching the cause but wanted to post here to see if it tickled any memories on how to fix/keep from happening.

Aaron

3 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 17 Jun 2010, 06:17 AM
Hi Aaron Graham,

We will try to reproduce the issue but it would great if you could send us a sample application which demonstrates the exception.


Best wishes,
Milan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Milan
Telerik team
answered on 23 Jun 2010, 10:20 AM
Hello Aaron Graham,

May I ask you to send us a sample application since we were unable to reproduce the problem.


Kind regards,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Aaron Graham
Top achievements
Rank 1
answered on 23 Jun 2010, 02:02 PM
I was not able to spend time to reproduce it so I just added a try catch block where I am clearing the observable collection of items that are being displayed.  This seems to be working fine for now.

Aaron
Tags
Carousel
Asked by
Aaron Graham
Top achievements
Rank 1
Answers by
Milan
Telerik team
Aaron Graham
Top achievements
Rank 1
Share this question
or