Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
164
What makes my new row an old one?
posted

Hi,

I have an UltraWinGrid (Infragistics 2007) in which I want to add rows. This UltraWinGrid.UpdateMode is OnCellChange and my datasource is a Linq-to-sql object. On keydown insert, I use the AddRow() method, which creates a new row (yay!) that is invalid for the moment since I have some restrictions on my bound source (no nulls, etc.). The user can then edit the row to make it valid. As long as the user doesn't select another row, or doesn't add a new row (and edits it), my first new row doesn't seem to be submitted to my datasource. However, after selecting another row, or after editing a cell in another new row, my row appears in my ChangeSet.

My questions is "What happened when I selected the other row?". I want to know this because if I have no other rows, I can't find a way to "tell" my new row "Hey buddy, you're good to go!" (with a ctrl-enter or whatever)

Thanks,

Xavier