This is a great class indeed, thanks for supplying it!
However, if I try fetching text from a code-behind function inside the EmptyDataTemplate it doesn't show the text. When debugging it enters the function and returns the text, but it doesn't get displayed. When using the asp:GridView the text shows up nicely
(but of course without the header and footer).
hansgh
Member
20 Points
4 Posts
Re: GridViewEx
Aug 15, 2006 07:21 PM|LINK
This is a great class indeed, thanks for supplying it!
However, if I try fetching text from a code-behind function inside the EmptyDataTemplate it doesn't show the text. When debugging it enters the function and returns the text, but it doesn't get displayed. When using the asp:GridView the text shows up nicely (but of course without the header and footer).
Example:
<EmptyDataTemplate>
<asp:Label id="lblNoData" runat="server" Text='<%# GetNoMessagesText() %>' SkinID="Info"></asp:Label> </EmptyDataTemplate>Do you have any idea why this is and if it can be fixed?