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
Detect Session State TimeOut
Can't print to Dymo Labelwriter 400 turbo after adding labelwriter 450 turbo drivers on windows 2003 terminal server
VB script to uninstall with admin rights.
HMail Server on dedicated web server with in-house Exchange 2003
The marquee progressbar hangs as the next line of the code executes
PHP - session variables lost between subfolders
Creating Visual Studio 2008 Development Environment for Sharepoint 2007 Sequential Workflows
Ubuntu - Vista
Microsoft WORD doesnt open full screen
Dialog.ModalityType.APPLIC
ATION_MODA
L