Listview flickering and performance problem

Listview flickering and performance problem

Post by Jame » Thu, 22 Jun 2006 21:50:41


Hi all,
I have made a derived Listview which can accept the controls as
items in it. Controls that we are using are Buttons in each row and
implemented Grouping with the help of controls(label on panel) . Coz
Inbuilt listview Grouping not supported in OS like window 98.

Although I had used Double buffering
(SetStyle(ControlStyles.DoubleBuffer, true); .. in my Listview) but
still the listview flickers much when we scroll its items. And as
the number of items reaches nearly equal to 18, the performance again
degrades analogically and starts flickering at high level.

I have to made a list view can accept nearlly 100 items as rows
efficiently and without flickering.

if anybody have any views / ideas to sort out this problem will be
appreciated.

Thanks
James
 
 
 

Listview flickering and performance problem

Post by Nicholas P » Fri, 23 Jun 2006 00:45:54

James,

When you have the nested controls, I think that might be part of the
problem.

Have you considered using a third-party grid control which could give
you the same results?


--
- Nicholas Paldino [.NET/C# MVP]
- XXXX@XXXXX.COM