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

Chart takes forever to load if placed on a TabControl

1 Answer 45 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Andre
Top achievements
Rank 1
Andre asked on 25 Oct 2013, 03:23 PM
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?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 30 Oct 2013, 11:53 AM
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 >>
Tags
ChartView
Asked by
Andre
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or