Hi (thank you , I figured it out)
Assuming that i have a radgridview which will be bound to an EntitySet<Report> through DomainDataSource control.
my Entity "Report" has some fields such as:
Description
Debit
Credit
TransactionAmount
.....
On the ridview, i only let the grid display Description, Debit and Credit column so user can enter and modify those.
So right now each row on the grid only has 3 columns (but each Report has 4 fields)
What i want to implement now is that everytime a user has done insert/edit (Debit,Credit) row, then the value of the transactionAmount will be updated accordingly by the rule "transactionamount = debit - credit".
I am thinking about using the RowEditedEnd in order to update the transactionamount. However, I don't know which method to call in order to retrieve the Report (which has 4 fields) row of the selected one(SelectedItem only return the current Row which supposes to have only 3 columns). And call the suitable field for the report in order to save the selected Report back to the server side and goes into the database.
Can you provide me some guideline for my case?
thank you
Assuming that i have a radgridview which will be bound to an EntitySet<Report> through DomainDataSource control.
my Entity "Report" has some fields such as:
Description
Debit
Credit
TransactionAmount
.....
On the ridview, i only let the grid display Description, Debit and Credit column so user can enter and modify those.
So right now each row on the grid only has 3 columns (but each Report has 4 fields)
What i want to implement now is that everytime a user has done insert/edit (Debit,Credit) row, then the value of the transactionAmount will be updated accordingly by the rule "transactionamount = debit - credit".
I am thinking about using the RowEditedEnd in order to update the transactionamount. However, I don't know which method to call in order to retrieve the Report (which has 4 fields) row of the selected one(SelectedItem only return the current Row which supposes to have only 3 columns). And call the suitable field for the report in order to save the selected Report back to the server side and goes into the database.
Can you provide me some guideline for my case?
thank you