M
msnews.microsoft.com
I am new to C# (coming from java) and I am confused about how to properly
work with datagrids.
The application I am working on is a message based system where properties
aren't changed in direct response to edits on the front end.
For example, setting the status of an order from active to pause would
result in a EditOrderStatusMessage being sent from the FE to the BE
requesting the desired status change. Only after we the message from the BE
is received with the new status should the property on the FE changed and
all the controls notified.
But I have NO CLUE how I would go about doing something like this with a
datagrid. Since I have bound the grid to the status, when I change the
status in the grid, I also change the status in the object, which then
results in the controls being notified ... but they shouldn't be notified
till the BE says so.
Since I am obviously not the first person to hit this, I was wondering how
others might have solved this problem.
work with datagrids.
The application I am working on is a message based system where properties
aren't changed in direct response to edits on the front end.
For example, setting the status of an order from active to pause would
result in a EditOrderStatusMessage being sent from the FE to the BE
requesting the desired status change. Only after we the message from the BE
is received with the new status should the property on the FE changed and
all the controls notified.
But I have NO CLUE how I would go about doing something like this with a
datagrid. Since I have bound the grid to the status, when I change the
status in the grid, I also change the status in the object, which then
results in the controls being notified ... but they shouldn't be notified
till the BE says so.
Since I am obviously not the first person to hit this, I was wondering how
others might have solved this problem.