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

Carousel crashing after last update

3 Answers 55 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Jonah
Top achievements
Rank 1
Jonah asked on 07 Nov 2013, 05:35 PM

After the last update I did for my telerik products I started getting error reports from my user base. I didn't change anything to do with the carousel on my last release. I am attaching the error in a png file, let me know if anyone has any ideas. I have also had a long standing issue with the carousel where I change the selected item from code behind and if I have more than 5 items in the carousel, the third item will be brought to the top instead of the selected item. I do have code that I use to make sure that the items stay in view. But I can't see why the carousel is changing position, I had to set my selected item to null and then to the value I wanted it to be. So the carousel changes to the third item in the list then after setting it to null and back to my item it will select it properly.


Thank you

3 Answers, 1 is accepted

Sort by
0
Vera
Telerik team
answered on 08 Nov 2013, 11:23 AM
Hello Jonah,

Unfortunately, we are not aware of such exception. Please check the attached project based on the details you provided. Are you able to get the problem on it?
As for the SelectedItem, could you please share more details on how and when you set it? Why not use BringDataItemIntoView method illustrated in the attached example?

Regards,
Vera
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Jonah
Top achievements
Rank 1
answered on 08 Nov 2013, 05:11 PM

I replied by email but thought I might need to post here just in case anyone else had the same issue. Also I can't attach the sample project here for you to look at so let me know if you didn't get the reply email.


I modified your application to better reflect what my application is doing.

The error isn't exactly the same but it is on the carousel.Bind() method.

 

If you start the application and select one of the tabs without selecting the inner tab that shows the carousel, then click the remove button the application will crash.

If you click one of the tabs and click the inner tab that contains the carousel to show it then click the remove button, everything works as expected.


0
Vera
Telerik team
answered on 08 Nov 2013, 05:15 PM
Hello Jonah,

Please attach the project to the support ticket you opened on the same matter.

Regards,
Vera
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Carousel
Asked by
Jonah
Top achievements
Rank 1
Answers by
Vera
Telerik team
Jonah
Top achievements
Rank 1
Share this question
or