Gridview Bug?

  • Thread starter Thread starter Tim Payne
  • Start date Start date
T

Tim Payne

Here's an odd one. If I have a gridview that only has one row in it, and
there is a button on the row (be it a buttoncolumn or in a templatecolumn),
clicking the button adds an extra row to the gridview, but without any data
bound to it. Two or more rows and its fine, it only happens when there's one
row in the gridview.

Has anyone else come accross this? I can't find any examples of anyone else
who's come accross this one.

Regards,

Tim.
 
In fact it happens if you click any button, anywhere on the page that
doesn't rebind the datagrid.

Regards,

Tim.
 
Hi

I had the same error when I found out that the button I used was "Add" which
added a control to the grid. Could the problem be that simple to solve?
 
Back
Top