Hi there, I am using SL4 with WCF RIA services. I have a domain datasource which I am using to populate a listbox. I have attached a context menu attached to the list items that I want to trigger an update to a fields value in the database. so I am trying
EmployeeDetail employee = (EmployeeDetail)sender;
if(employee.EmployeeDetails!=null)
employee.formEmployee.CommitEdit();
dsEmployee.SubmitChanges();
So the code works ok I see the update in the database, however the listbox hasn't been refreshed. If I press F5 then I see the change in the silverlight application however what do I need to do to refresh the lists datasource?