K
Kadett
Hi all, I have following problem: I'm creating a ListView (Details) control
at run-time and filling it with some records (let's say 10 000). This
operation seems to be quite fast, but when I call Controls[x].Add(list),
where list is my ListView control, then program hangs for minute. It seems
like this time depends on number of records added to control. So probably
when adding control to my form, those records are actualy added at this time
(not when calling ListView.Items.Add)... However, does anybody know the way
how to avoid this hanging ? I've tried to put all records adding loop to
background worker, but it gave no effects as they are really added when
adding control to the form. Help.Thanks.
at run-time and filling it with some records (let's say 10 000). This
operation seems to be quite fast, but when I call Controls[x].Add(list),
where list is my ListView control, then program hangs for minute. It seems
like this time depends on number of records added to control. So probably
when adding control to my form, those records are actualy added at this time
(not when calling ListView.Items.Add)... However, does anybody know the way
how to avoid this hanging ? I've tried to put all records adding loop to
background worker, but it gave no effects as they are really added when
adding control to the form. Help.Thanks.