AD
Administrator
Syncfusion Team
April 29, 2005 05:44 PM UTC
Is the button you are clicking on a toolbar, or is it a button control where its CausesValidation is set to false? In either of these cases, clicking the button will not trigger a validation of the last active control, and this would prevent the data from being pushed into the datasource. One thing you can try is to call
this.Validate();//this refers to the Form holding the grid
at the start of your button handler code. This should trigger a validation on the last active control.