Monday, 1 February 2010

A GridView CommandField of type Image causes a double submit.

When clicking on a CommandField of type Image in a GridView, there are two submits. One is the onclick eventhandler and the other is the default submit of an input element of type image. In Beta2 and before there was no onclick event handler and so there was only one submit, this is only a problem since RTM.

No comments:

Post a Comment