Contents tagged with GridView
-
A more elegant solution to display GridView header and footer when the data source is empty.
I think the need to always show the header and footer of a GridView is pretty common.
When I first ran into this problem, I went to Google and found lots of content about this.
Some suggest tampering with the data source to add an extra row if it’s empty.
Others show overriding the CreateChildControls method.