Question
When you data bind in C#, the thread that changes the data causes the control to change too. But if this thread is not the one on which the control was created, you'll get the above exception.
I surfed the net and found no good answer.
Anyone?
Answer
Re: 2004
No, you will only move the code that changes the data into the delegate function (because the data change is what triggers the control update). Other than that, you should not have to write anything extra.
< br > via < a class="StackLink" href=" http://stackoverflow.com/questions/1994/" >Any solution to the "illegal cross thread call" ?< /a>
0 comments:
Post a Comment