Author: parimaln | Posted on: 6/11/2008 7:33:17 PM | Views : 253

Hi,

I read my Feed Data using HttpWebrequest object. The Feed services resides on different domain. I have a valid CrossDomain policy file. I am able to read the data correctly from Feed services and get data in SL App.

Problem:

When i try to bind this data to my Data Grid, i get the following error "Invalid cross-thread access" error and application hangs doing nothing.

Resolution:

I create a Thread and using Dispatcher.BeginInvoke(() =>{} i am binding the data to grid and performing some more UI functionality. All my required functionalities work fine now without any error.

Question:

Is this a correct approach to resolve my issue, the above error i am getting if i dont use threading?

Thanks in Advance,

regards,

Parimal
...

Go to the complete details ...