Listview control flckering in .NET 2.0
-
Hi, I have an urgent issue with an activeX control I have written in .NET 1.1 based on the listview. When I run the control on .NET 2.0 there is very bad flickering whereas on .NET 1.1 there isn't any. I am updating the listview asynchronously using BeginUpdate/EndUpdate along with a separate class that gets the data in a separate thread. The listview is then updated using the BeginInvoke approach. I have dissassembled the .NET 2.0 listview and found that for some reason on every item add it executes a control.invalidate() hence forcing a repaint. Therefore, this leads me to believe that there is no way to avoid the flickering.* Does anyone have any information on this as I am surprised that the listview could be released with this problem?
Anyway, this also leads me to believe that to resolve my problem is to force the application to use .NET 1.1. However, my control is hosted as an activeX object in IE. Therefore, I cannot just use the IExpore.Exe.config file to force IE to use of .NET 1.1 framework for obvious reasons. Therefore, my second question is.* Is it possible to configure an assembly to use a specific .NET framework version?
My third question is.* If I am constrained with using an executable (having my own app domain) so that I can use my own config file to force the .NET framework version. Is it possible to host my activeX.exe in IE withing the tags as I am now with my activeX control? I hope you understand my post and hope someone out there can help. Many thanks in advance -
Hi, I have an urgent issue with an activeX control I have written in .NET 1.1 based on the listview. When I run the control on .NET 2.0 there is very bad flickering whereas on .NET 1.1 there isn't any. I am updating the listview asynchronously using BeginUpdate/EndUpdate along with a separate class that gets the data in a separate thread. The listview is then updated using the BeginInvoke approach. I have dissassembled the .NET 2.0 listview and found that for some reason on every item add it executes a control.invalidate() hence forcing a repaint. Therefore, this leads me to believe that there is no way to avoid the flickering.* Does anyone have any information on this as I am surprised that the listview could be released with this problem?
Anyway, this also leads me to believe that to resolve my problem is to force the application to use .NET 1.1. However, my control is hosted as an activeX object in IE. Therefore, I cannot just use the IExpore.Exe.config file to force IE to use of .NET 1.1 framework for obvious reasons. Therefore, my second question is.* Is it possible to configure an assembly to use a specific .NET framework version?
My third question is.* If I am constrained with using an executable (having my own app domain) so that I can use my own config file to force the .NET framework version. Is it possible to host my activeX.exe in IE withing the tags as I am now with my activeX control? I hope you understand my post and hope someone out there can help. Many thanks in advanceI have the similar issue, if had get solution plz post here, I have developed a web application using DevExpress componet. Most of the controls used in the application are DevExpress Component. I use ActiveX object (which also use DevExpress Component to develop it) onside splitter pan. My Problem is when I click any component(image,button, dataGrid Row) to do something/to fire respective event and mouse over on splitter bar then the activeX object kept inside splitter pan is flicker horribly and the flickering stops when mouse out from the component. But when the splitter pan is collapsed and the activeX object is hidden then every click action on the page works fine. What is the problem??? Thanks Sharad Subedi