DevExpress ASPxGridView edit mode

1
Vote

Recently I wanted to add an edit mode button to the ASPxGridView control as outlined in this example.

Unfortunately it did not work as expected; the “Edit” command button simply did not do anything when being clicked.

Resolution

After some investigation I figured out that the property KeyFieldName of the grid view must be set to the key field.

In my grid, I forgot to set it.

After setting it; it worked just as expected. :-)

Einen Kommentar schreiben

 

You need to log in to vote

The blog owner requires users to be logged in to be able to vote for this post.

Alternatively, if you do not have an account yet you can create one here.

Powered by Vote It Up


blogoscoop