Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
Web Grid Fixed Header Data Invisible (Urgent, please help !)
posted

Hi,

I am using the following code to allow fixed headers

ReportView.DataSource = dt;//  data table ReportView.DataBind();

ReportView.DisplayLayout.UseFixedHeaders = true;

But I cant see any data in the web grid. However, whe I export to excel, all the data gets exported to excel, which means that the data is there for some reason, its not visible (like setting background, border and forecolor everything to white).

When I comment the last line however, I see the data.

Any help will be highly appreciated.

Thanks,

Sameer