I've only been doing Silverlight for a couple months, so if there is a better way to do this, please let me know.
I have a gridview that I'm pulling from a SQL database (its a view that I created there). Once a record is selected in the GV, I then populate a detail section on the screen.
DomainDataSource: CustomersGvSource - a SQL view as it pulls a variety of data from multiple tables
DomainDateSource: customerDetailSource (filter descriptor is based on selected customer from GV)
Once a customer is updated (their address changes or phone number or whatever else), then I save the changes without any problem. My problem is that the GV doesn't reload. I've tried using '.Load' and '.Clear' on my GV, but since I have a filter descriptor on the DDS, I get an error notification about it. How do I fix my code so that I don't have the error? Should I remove the filter descriptor from the DDS and move it to the code-behind?
I've been looking at the forum to see if I could find an answer, but most of what I see is using MVVM.
I know this has to be something simple that I'm just missing.
Thank you for your assistance.
Brian.
I have a gridview that I'm pulling from a SQL database (its a view that I created there). Once a record is selected in the GV, I then populate a detail section on the screen.
DomainDataSource: CustomersGvSource - a SQL view as it pulls a variety of data from multiple tables
DomainDateSource: customerDetailSource (filter descriptor is based on selected customer from GV)
Once a customer is updated (their address changes or phone number or whatever else), then I save the changes without any problem. My problem is that the GV doesn't reload. I've tried using '.Load' and '.Clear' on my GV, but since I have a filter descriptor on the DDS, I get an error notification about it. How do I fix my code so that I don't have the error? Should I remove the filter descriptor from the DDS and move it to the code-behind?
I've been looking at the forum to see if I could find an answer, but most of what I see is using MVVM.
I know this has to be something simple that I'm just missing.
Thank you for your assistance.
Brian.