Hi,
I am building my Grid structure in the code-behind (Page_Load when !Page.IsPostBack). I am using advanced data binding via the OnNeedDataSource event.
When I first load my page, the structure and data are fine. However, on a post-back the meta data of the columns is lost so I am left with no headers, and no data types on my columns. So all the rows just show "System.Data.DataRowView" as the value for each column
ViewState is enabled.
Any ideas? Am I missing an event handler to rebind the column data?
Thanks,
Dewang
I am building my Grid structure in the code-behind (Page_Load when !Page.IsPostBack). I am using advanced data binding via the OnNeedDataSource event.
When I first load my page, the structure and data are fine. However, on a post-back the meta data of the columns is lost so I am left with no headers, and no data types on my columns. So all the rows just show "System.Data.DataRowView" as the value for each column
ViewState is enabled.
Any ideas? Am I missing an event handler to rebind the column data?
Thanks,
Dewang