Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GridView - using CSS-Friendly Control Adapters removes EmptyDataTemplate and EmptyDataText

As pointed out in the question:

  • EmptyDataTemplate and EmptyDataText not working in GridView

    using CSS-Friendly Control Adapters removes the data that would would be populated by EmptyDataTemplate or specified in EmptyDataText in GridView.

One of the solutions is to disable the addapters for GridView components as specified in this answer

Is there a solution, that would allow to keep the use of CSS-Friendly Control Adapters for GridView and still take advantage of EmptyDataTemplate functionality?

like image 225
kristof Avatar asked Oct 04 '10 15:10

kristof


1 Answers

Build cssfriendly from source instead of using the download link. Currently the latest is http://cssfriendly.codeplex.com/SourceControl/changeset/changes/24242 and EmptyDataText is working fine for me when I use that source.

like image 79
David Eison Avatar answered Oct 16 '22 20:10

David Eison