Skip to content

Replies

0
Denis
Denis answered on Feb 13, 2009 1:42 PM

After verification, the DataItem contains the data just after I set the Grid.DataSource property.

But after a postback the DataItem is null.  I have set the Grid.ViewState = true and Grid.DataViewState = true.  I thought that it would keep those values in the ViewState.

That would be REALLY annoying to have to retrieve the index of each columns to retrieve the data.  I have about 20 columns I need to retrieve values.

Isn't there any other way to do that? 🙁

Thanks 

Daniel

 

 

0
Denis
Denis answered on Feb 9, 2009 2:39 PM

That would be great!… but my rec.DataItem is always null… 🙁

I am loading the Grid from a button event and I load it using a DataTable in memory.

Daniel