Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...