YAFLogo

paerison
  • paerison
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
10 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" />
</asp:DataGrid>

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

Sponsor