• paerison
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
9 years ago
I have successfully created my first "mod" and compiled it in the dev environment

the mod, in-and-of-itself, is not usefull outside of our forums
the theory however might be...

the problem: data repeater must declare specific field names in the template using
<%# Eval("nameoffield") %>
the same goes for the table header...

the solution.

<asp:DataGrid runat="server" ID="RSSListGrid" AutoGenerateColumns="true" Width="100%"  ShowHeader="true" ShowFooter="false">
    <HeaderStyle CssClass="row_header" />
    <ItemStyle CssClass="row_light" />
    <AlternatingItemStyle CssClass="row_dark" />
    <FooterStyle CssClass="row_total" />

it takes whatever fields there are and displays them along with the name of the column as the header


YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button