Dear All,
I have a scenario where I get list of accounts using QDSCV then bound it to RadGrid.
The user can select row and click edit, I then pass the accountID to the AccDetailview View, and then I retrieve the account data from the database and then bind it to xaml so the user can edit and submit changes.
My question is:
Can I pass the QDSCV currentitem for edit in the detailview view and update the database, when the detailsview return the updated object to the AccountsView or I should pass the whole QDSCV ?
Any feedback is appreciated
Waleed
EDITED:
---------
I have tried the proposed solution but get very strange error when calling the submitchanges on DomainContext. the error says: submitchanges is already in progress for the same domaincontext.
Could this have anything to do with the proposed solution.
Regards
Waleed
I have a scenario where I get list of accounts using QDSCV then bound it to RadGrid.
The user can select row and click edit, I then pass the accountID to the AccDetailview View, and then I retrieve the account data from the database and then bind it to xaml so the user can edit and submit changes.
My question is:
Can I pass the QDSCV currentitem for edit in the detailview view and update the database, when the detailsview return the updated object to the AccountsView or I should pass the whole QDSCV ?
Any feedback is appreciated
Waleed
EDITED:
---------
I have tried the proposed solution but get very strange error when calling the submitchanges on DomainContext. the error says: submitchanges is already in progress for the same domaincontext.
Could this have anything to do with the proposed solution.
Regards
Waleed