Aishu
Aishu

Reputation: 413

Silverlight Pivotviewer 2 control slow loading

In my project, I use PivotViewer-2 to visually display all data elements of an entity in one card. There are 50+ data elements that needs to be stacked in a single card. I defined a template (let's say T4) with all required data elements. For few data elements, I use value Converter classes to interpret into UI usable values.

The Silverlight Pivotviewer 2 client sources data by calling a web service and gets an Object Collection and assigns to PivotViewer's ItemSource property. The rendering of cards works good with less data (50). When the count increases, performance of pivotviewer comes down dramatically. The typical business scenario is 4000-5000 records.

I tested with 4025 records and it took almost 75 seconds to render data in the pivot viewer. The 75 second is counted from the time data assigned to item source to full rendering of pivot viewer. After the first load it works normally as expected.

Please suggest how effectively we can load large data into pivot viewer.

Are there any workaround to load the pivot viewer with simple template first and then add more complex template dynamically in the background.

Upvotes: 1

Views: 251

Answers (0)

Related Questions