Re: Child Form N-Level Undo Problems

Re: Child Form N-Level Undo Problems

Old forum URL: forums.lhotka.net/forums/t/3259.aspx


ajj3085 posted on Wednesday, July 25, 2007

kbcb:
My provider edit form has an editable grid of physicians. When you double-click on an item within the editable grid, it opens a physician edit form which has an editable grid of credentials. I do this because there are certain fields of the physician that I want to be editable on the provider form, and certain fields I want to be editable individually by the physician edit form.


That almost sounds like two different use cases to me.  One use case allows quick editing of certain properties over a group of providers, the other allows full editing of a provider.  Also, it would seem (and correct me if I'm wrong) that you would only be editing the credentials on the full edit screen.  So your grid's BO doesn't need that collection at all.

I'd create another BO to handle the full edit case.  When that form is saved, it could raise an event giving it the newly saved BO so that the BO linked to the grid can update itself.

Just my two cents.
Andy

Copyright (c) Marimer LLC