Silverlight 4 Multithread

Posted by DavyMac23 on Stack Overflow See other posts from Stack Overflow or by DavyMac23
Published on 2010-05-13T20:59:04Z Indexed on 2010/05/13 21:04 UTC
Read the original article Hit count: 232

I'm trying to update my Silverlight 4 UI approx every 1/2 second with new data. I've hooked into a WCF service using net.tcp binding and issuing callbacks from the server. To make sure I get the data from the service as quickly as possible I've started up my proxy on a backround worker inside of my Silverlight App.

My question is, how do I get the results from the callback and update the ObservableCollection that is bound to a datagird? I've tried a number of different ways and keep getting the dreaded cross-thread error.

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about 4