Quantcast
Channel: CSLA .NET
Viewing all articles
Browse latest Browse all 764

How to Fire a Collection Changed Event on a Business List

$
0
0

I have a Telerik Grid with sum totals on the footer.  When a value in a child is changed the Grid does not recalculate the total.  The Grid requires a CollectionChanged event.  Is there a way to fire the event even though the list really did not change?  Here is a code example that doesn't work because the event is not accessible:

 

        ///<summary>

        /// The on child changed.

        ///</summary>

        ///<param name="e">

        /// The event args.

        ///</param>

        protectedoverridevoid OnChildChanged(Csla.Core.ChildChangedEventArgs e)

        {

            if (CollectionChanged != null)

            {

                CollectionChanged(this, newNotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace));

            }

        }

 

Todd

 


Viewing all articles
Browse latest Browse all 764

Trending Articles