all groups > asp.net datagrid control > june 2006 >
You're in the

asp.net datagrid control

group:

dynamic columns and datagrid items



dynamic columns and datagrid items SMai24 NO[at]SPAM gmail.com
6/28/2006 6:18:42 AM
asp.net datagrid control: 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!!!!!!
Re: dynamic columns and datagrid items Tatyana
6/28/2006 4:55:10 PM
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





[quoted text, click to view]

AddThis Social Bookmark Button