CSLA .NET

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
  • xtragrid Child Collection Reset Issue

    rated by 0 users
    Answered (Verified) This post has 2 verified answers | 3 Replies | 1 Follower

    Top 500 Contributor
    24 Posts
    Abbas posted on Thu, Sep 25 2014 6:30 AM

    Hi

    I have devex extragrid bound to an editable child collection via bindingsource in windows form. Grid automatically adds new row. But when I change any cell in the new row, the datasource is reset automatically and focus moves to the first row.

    Any clue? Why is it resetting the datasource?

    Best regards
    Abbas

    Answered (Verified) Verified Answer

    Top 500 Contributor
    24 Posts
    Answered (Verified) Abbas replied on Thu, Sep 25 2014 7:27 AM
    Verified by Andy

    After upgrading to version 4.5.601 and adding following line to the configuration file, it seems working.

    <add key="CslaPropertyChangedMode" value="Windows" />

    Thanks
    Abbas

    Top 500 Contributor
    24 Posts
    Answered (Verified) Abbas replied on Thu, Sep 25 2014 9:00 AM
    Verified by Andy

    Thanks Andy
    I have inherited child collections from BusinessBindingListBase.

    All Replies

    Top 500 Contributor
    24 Posts
    Answered (Verified) Abbas replied on Thu, Sep 25 2014 7:27 AM
    Verified by Andy

    After upgrading to version 4.5.601 and adding following line to the configuration file, it seems working.

    <add key="CslaPropertyChangedMode" value="Windows" />

    Thanks
    Abbas

    Top 10 Contributor
    4,106 Posts
    Andy replied on Thu, Sep 25 2014 7:31 AM

    Yes, if you're using WinForms and a newer version of Csla, you must set that in your config file.  Your BLB should also subclass Csla.Windows.BusinessListBase.

    Top 500 Contributor
    24 Posts
    Answered (Verified) Abbas replied on Thu, Sep 25 2014 9:00 AM
    Verified by Andy

    Thanks Andy
    I have inherited child collections from BusinessBindingListBase.

    Page 1 of 1 (4 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