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
Rpc over Https
DELPHI 2010 -- INDY 9 or INDY 10
MS CRM Duplicate Detection rule not working
DGV Error - System.IndexOutOfRangeExce
ption: Index 0 does not have a value.
Sharepoint 2010 Advice, WSS vs MOSS
Login script error. Access Denied
How do I add my read-only attribute back with a .vb script
Install IIS with a vbs script.If supporting files needed pick from a predefined path.
Exchange 2003 and 2010 coexistent - Outlook in 2010 cannot email to 2003
Can I force reconciliation of old email after blackberry enterprise activation?