When I set my ItemSource for the TreeViewItem more than once I get this error. I ran differant querys and set the ItemSource. Any idea what I'm doing wrong. I'm using RIA Services. The first time it works fine.. the 2nd it errors out..
// Pass In _Topic...
var query = from em in this.DS.GetEmailsQuery() where em.TOPIC == _Topic
orderby em.EMAILDATE descending
LoadOperation<Email> lo = this.DS.Load(query);
lo.Completed += new EventHandler(lo_Get_Data_Completed_INBOX);
void lo_Get_Data_Completed_INBOX(object sender, EventArgs e)
LoadOperation owlop = sender as LoadOperation;
// do something
treeviewItem.ItemsSource = this.DS.Emails; << ERROR HERE >>>