EmptyDataTemplate and EmptyDataText not working
Posted
by Farinha
on Stack Overflow
See other posts from Stack Overflow
or by Farinha
Published on 2010-06-03T13:49:16Z
Indexed on
2010/06/03
14:04 UTC
Read the original article
Hit count: 296
I can't seem to get either EmptyDataTemplate or EmptyDataText of a GridView to work.
I'm fetching the GridView contents in de codebehind and attaching them with using DataBind(). I've tried having them as null and as an empty List, and in both cases the text I put into EmptyDataTemplate or EmptyDataText is not displayed.
What am I doing wrong?
© Stack Overflow or respective owner