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
  • Dynamic List Query

    rated by 0 users
    Not Answered This post has 0 verified answers | 2 Replies | 2 Followers

    Not Ranked
    7 Posts
    Luke Macey posted on Tue, Oct 22 2013 11:07 AM

    Hey Guys,

    I am pretty sure I know the response to this but I am stuck having to ask this anyhow.

    I have a Dynamic List that is data bound to a DGV, I know the standard behaviour is to commit when you come off of the row and this works perfectly when the object is valid.

    I am having an issue when I go to come off of the DGV and the object is not valid(it will throw a commit issue), I was originally handling this in "RowValidating" saying when the object is not valid don't move off the row. and this works brilliantly with the left click!

    The DGV I am using is our own custom DGV which when you right click a cell the cell will become selected and will also become the current cell. This is what is causing the error I believe.

    I have been asked if I am handling the commit error correctly or if the row should just show in error until it has been filled out and then commit?

    Any help would be appreciated

    All Replies

    Top 10 Contributor
    9,475 Posts

    Normally Windows users don't expect to be trapped in a control (a textbox, grid cell, etc.), and that can cause issues depending on how it is implemented (such as trapping the user in the app as well as in a control).

    So yes, normally people would expect to leave the row and have the row show error status information.

    Rocky

    Not Ranked
    7 Posts

    Does this mean that the dynamic list is inadvisable for normal window users?

    Is trapping them in the control the correct way to use the dynamic list?

     

     

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