Tech Tidbits - Ruby, Ruby On Rails, Merb, .Net, Javascript, jQuery, Ajax, CSS...and other random bits and pieces.

Saturday, January 19, 2008

ASP.NET GridView "ShowFooter"

Sometimes it's the small things that get you...

Uh, not that it ever happened to me, but in case you can't get your GridView template footer to show up...don't forget 'ShowFoooter="true"' :)


<asp:GridView ID="grdListings" runat="server" AutoGenerateColumns="false" BorderWidth="0"
AllowPaging="true" PageSize="5" OnPageIndexChanging="grdListings_PageIndexChanging" ShowFooter="true">

<Columns>
<asp:TemplateField>

<HeaderTemplate>
Header
</HeaderTemplate>

<ItemTemplate>
Item
</ItemTemplate>

<FooterTemplate>
Footer
</FooterTemplate>

</asp:TemplateField>
</Columns>
</asp:GridView>

No comments:

About Me

My photo
Developer (Ruby on Rails, iOS), musician/composer, Buddhist, HSP, Vegan, Aspie.

Labels