DataGrid disappears in ASCX control

T

Tina

I am accustomed to displaying datagrids in ASPX pages with data in textboxes
inside template items. Normally I have an Update button on the form. In
the click event of that button I spin through the datagrid comparing the
values in the editable textboxes with the original values to determine what
needs updating.

I have done this dozens of times and it always works great.

BUT, now I'm doing that same thing in an ASCX control. I have a datagrid
with template columns and an update button. In the click event of that
button NOTHING IS IN THE DATAGRID !! dg.items = 0.

Anyone know what is wrong and if it can be fixed?

Thanks,
T
 

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,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top