accessing datagrid controls after databind()

B

Bob

I tried accessing the client IDs for a datagrid by looping
through the items in datagrid.items.count after the datagrid.databind()
call.

The problem I am having is that the count does not include the footer
item. I am doing this to write some javascript block code to calculate a running
total of the grid values in the footer textboxes, all on the client.

Has anyone experienced this problem? Note - I do not want to do this
in the onItemDataBound event handler as the code for writing the javascript
will then have to be built in pieces as the onItemDataBound events are fired.

I JUST NEED TO ACCESS ALL OF THE DATAGRID'S CONTROLS, INCLUDING THE FOOTER,
IN ONE SHOT.

thanks,
Bob
 

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

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top