Gridview Bug?

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.
 
T

Tim Payne

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

Regards,

Tim.
 
L

Lars

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top