Where to put listchanged event handler

Where to put listchanged event handler

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


Bonio posted on Thursday, August 31, 2006

I use a listchanged event handler to update line numbers in an InvoiceLineItem child collection.

I have previously tried to 'hookup' child objects to the event handler by attaching them in a custom addChild method in the parent list. However I found this technique worked great for manually added child objects, but I was clueless on how to add the handler if the object and children were loaded from a database during a fetch call.

Question is, what is the best way to add an event handle to a child object??

Thanks

Bone

Copyright (c) Marimer LLC