Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Forum has moved

New location: CSLA .NET forum

CSLA .NET Resources:
  • CSLA .NET forum
  • CSLA .NET home page
  • WinForms BindingSource.CurrentChanged event is raised unexpectedly

    rated by 0 users
    This post has 0 Replies | 0 Followers

    Not Ranked
    Posts 2
    darilek Posted: Mon, Jul 7 2014 2:42 AM

    There is a problem with using WinForm BindingSource in the newest CSLA version (4.5.x). For BindingSource used in master-detail scenario, the CurrentChanged event is raised many times, when the property is changed on child object.

    It can be easily reproduced on sample "RootChildGrandchildWinFormTest". Just add event handlers and breakpoints on all BindingSource.CurrentChanged events and try modify 1st-level child property. Event is raised many times for both child binding source and grandchild binding source (for every property defined on object).

    in older versions (4.3.x, 3.8.x) it works fine (event is raised only one-time for GrandChild object)

    Page 1 of 1 (1 items) | RSS

    Copyright (c) 2006-2014 Marimer LLC. All rights reserved.
    Email admin@lhotka.net for support.
    Powered by Community Server (Non-Commercial Edition), by Telligent Systems