AutoGenerateColumns and viewState

F

Frank

Hi all,

Assuming datagrid's viewstate is enabled, then upon
postback
1. its data will be populated automatically if
AutoGenerateColumns is true
2. no data is populated if AutoGenerateColumns is false.

Why does case 2 happen? How can we fixe it? I do not want
to go to database to get the same data again.


Thanks a lot.
Frank
 

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,787
Messages
2,569,630
Members
45,335
Latest member
Tommiesal

Latest Threads

Top