Carousel crashing after last update

4 posts, 0 answers
  1. Jonah
    Jonah avatar
    29 posts
    Member since:
    Oct 2012

    Posted 07 Nov 2013 Link to this post

    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

  2. Vera
    Admin
    Vera avatar
    263 posts

    Posted 08 Nov 2013 Link to this post

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

    Posted 08 Nov 2013 Link to this post

    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.


  5. Vera
    Admin
    Vera avatar
    263 posts

    Posted 08 Nov 2013 Link to this post

    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 >>
Back to Top