How do I detect that a row from the add template is being committed to the grid?
When a user adds a new row via the add row template how can I detect this and in turn insert the row as new in my database
Hello wltaylor,
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Actually.. BeforeRowInsert fires as soon as the user begins typing in the row. If you are looking for when the row is committed, then you should use Before/AfterRowUpdate. This event fires both for newly-added rows and existing (edited) rows, but you can tell the difference by examining the row.IsAddRow property.
Hello,
The AddRow becomes an UltraGridRow the moment you click in it, so the event you should probably be going for could be the 'BeforeRowInsert'.
Please do not hesitate to contact us if you need any additional assistance.