Chart takes forever to load if placed on a TabControl

2 posts, 0 answers
  1. Andre
    Andre avatar
    30 posts
    Member since:
    Dec 2012

    Posted 25 Oct 2013 Link to this post

    I have a tab control with 2 pages. The second tab contains a chartview. When the application loads, the first time i move from the first tab to the second tab the application appears to hang and takes forever to draw.

    Is there a workaround for this?
  2. Dimitar
    Admin
    Dimitar avatar
    1411 posts

    Posted 30 Oct 2013 Link to this post

    Hello Andre,

    Thank you for writing.

    This is caused because the chart is initialized when the tab is first showed. In order to avoid this you can use RadPageView and then set the pages Visible property to true. Please refer to the attached project for sample implementation of this approach. 

    I hope this will be useful. Should you have further questions, I would be glad to help.

    Regards,
    Dimitar
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    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 WinForms is Visual Studio 2017 Ready
Back to Top