How to raise property change event of list member in root class - to fire valdation rule

How to raise property change event of list member in root class - to fire valdation rule

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


Soumya posted on Tuesday, November 27, 2007

Hi All,

  I'm using a case where I have Invoice class (Businessbase) and a member InvoiceItems a list.(BusinessListBase). I have a validation rule which checks for some of my list items must match to my base invoiceamount. I'm able to raise propertychange on my root invoice, muts unable to fire it when my List object changed and eventuall raise validation rule checked.

looked at one of the suggestions in the forum 4151. its in C#.  and donot know where should I define them in parent invoice class or InvoiceItems class. And please provide code sample in VB.net

Thanks

Soumya replied on Tuesday, November 27, 2007

Hi All,

never mind. I got answer.

I defined my list member with events and handling ListChanged in parent

Thanks

Soumya

Copyright (c) Marimer LLC