Author: Tom | Posted on: 4/2/2009 9:00:00 AM | Views : 1222

If you have started playing with the RIA controls for Silverlight, one thing that you will need to understand is that when you get a DomainContext and call one of the load commands, that it does this async.
So if you do something like:
var context = new TestDomainContext(); context.LoadProducts(); foreach (Product p in context.Products) { myComboBox.Items.Add(p.ProductName); } .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; ...

Go to the complete details ...