dynamic columns and datagrid items

  • Thread starter Thread starter SMai24
  • Start date Start date
S

SMai24

created 4 boundcolumns dynamically or programmatically and bind them
to a datasource, when client click on a button before posting back to
the server, i am trying to extract the data from the datagrid throught
its datagrid.items, but nothing is there(count = 0). Does anyone have
any clues about this? Any help would be greatly appreciated!!!!!!...
 
if i cant extract the data before postback, then how am i supposed to
know to find out what the client did to the form? For example, i have
generated checkbox column, when a client clicks on the checkbox, how do
i find that the checkbox is checked?
 
You just need to re-create exactly the same controls as you did for the
first page load. On the postback asp.net will take care of populating the
controls with the correct client data.

Eliyahu
 

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

Back
Top