-
On your constructed class (from BusinessListBase), override InsertItem(..) and RemoveItem(..). Troncho
-
On your derived BusinessListBase class, you can override RemoveItem(..) like this: protected override void RemoveItem( int index) { if ([ condition is met] ) base .RemoveItem(index); } Troncho
-
I found the problem! It seems that, behind the curtains, when you declare a class with the attribute: [System.ComponentModel. DefaultBindingProperty ( "InfoObj" )] It generates some hidden event for DataBinding handling or something with the following name: [ PropertyName + "Changed" ]. So, when I declared the public event EventHandler
-
Ok, so for now, overriding the BO.Delete() will have to do. Thanks! Troncho
-
[System.ComponentModel. DefaultBindingProperty ( "InfoObj" )] [ DefaultEvent ( "InfoObjChanged" )] public partial class UCNrgHelpBase : UserControl { public event EventHandler < NrgHelpBaseEventArgs > InfoObjChanged; public virtual IReadOnlyInfo InfoObj {...} ... } If I comment the event ( InfoObjChanged ), DataBinding works
-
Hi, Jonny, I'm trying to acces references you gave me for reading on this post: http://forums.lhotka.net/forums/p/11632/54070.aspx#54070 ... suggest you read thoroughly the DataBindingFAQ . This document goes thorough what actually triggers validation and how databinding in Windows Forms work. (There's a similar DataGridViewFAQ too that is valuable
-
Hi Jonny. I've followed your advice. I'm setting DataSourceUpdateMode.Never when the control is ReadOnly and to DataSourceUpdateMode.OnPropertyChanged when not. Its working perfectly well!!! Thanks! Again! Troncho
-
Thanks!
-
Hi Jonny. Is there any working options for the Csla 3.8.4 Business & Auth Rules engine? Thanks, Troncho
-
Hi Jonny, Hi everybody. The project I'm working on demands a real use case which involves a monthly upload of about 2,800,000 ( yes, almost 3 million ) of contibutor tax related records. The source is a delimited ASCII text file. I've come up with a very fast working solution, implementing a mix between Sql BulkCopy and a special implementation