dynamic columns and datagrid items

S

SMai24

I 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!!!!!!
 
T

Tatyana

Hello,

I have the same problem, have a look at the following post ...

"Catch TextBox value entered by user into the GridView Templated Field (both
created dynamically) on PostBack"

I have heard that it has something to do with the way the GridView control
is rendered on the page. It should be - first add control onto the page and
then bind to DataSet.

Thank you,

Tatyana
 

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,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top