stuart Posted October 19, 2004 Posted October 19, 2004 I have a form that has a datagrid and an update button. The update button belongs to an inherited form. The clicked event of the update button updates any changes in the datagrid to the database. If I open the form, add a new row in the datagrid and then, without leaving the new row, click the update button the update performs as expected. However, if I open the form, sort the datagrid - by clicking in a column header - add a new row and, without leaving the new row, click the update button it doesn't do the update. The new row is moved to a new position according to the sort but the clicked event on the button doesn't fire! This problem only occurs if I sort the datagrid. Any ideas why the clicked event on the button doesn't fire when I click on it? Your help is appreciated. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.