Microsoft
Software
Hardware
Network
Question : Is it possible to databind within the UI from a background thread?
I think that the answer is going to be no, but just in case...
I am loading filtering data in a background thread which is used to populate a combobox that is used to filter some alternative results. I have to call a method on the UI thread to create the databindings which creates a delay and requires me to display an hourglass while it is bound.
I would like to get rid of this delay and do the binding on the background thread, leaving only activation of the combo (setting its Enabled property to true) to be handled by the UI on completion.
Is this possible, and if so how?
Chris Bray
Answer : Is it possible to databind within the UI from a background thread?
Hi Chris;
To your statement, "Is this possible, and if so how?", The short answer is no. It is illegal to manipulate the controls of a UI from a different thread then the one it was created from.
Sorry;
Fernando
Random Solutions
Predicted harddrive failure
How to Create Firebird Trigger to get AutoID by using Vb.net code
Is it possible to encrypt an email message using PHP?
MySql injection hack
How do you use an underscore character in an AutoCad LISP script?
Windows 2003 WMI Errors after VMWare Virtualization
Dell PowerEdge Perc 4e/Di RAID 1 expansion
Menu settings
Outlook 2007 w/ Exchange 2010 empty folder
get name of the opened file