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
Exchange server 2007 sp3 in server 2008 R2
SSRS 2008 Cascading Parameter not getting refreshed
Screen lock/unlock
Crystal cross-tab page numbering
TypeConverter and multiple data sources used in Property Grid with a dropdown control.
How do I modify textboxes/labels in an asp:repeater footertemplate through javascript (client side)
how to use session variables between servers????
VMware Vcenter server connection to iSCSI SAN network
Why is my line-height not the same in IE and firefox??
Installing Windows 2008 Server R2 on a Dell PE 2850