0
Answer

Listview.TopItem is Very slow on First Execution

Ask a question
try abc

try abc

15y
5k
1
Hello.. i am Using listview to Fill data from database. and selecting Item in listview through Coding. Now then want to highlight selected the selected One.. for that I am using following code.. lstv.Items[ItemName].Selected = true; lstv.Items[ItemName].Focused = true; lstv.TopItem = lstv.Items[ItemName]; but the following statement takes too much time to execute for the First time Only. next time its is Normally.. lstv.TopItem = lstv.Items[ItemName]; I dont know what s Going wrong ??if anybody can help..