•  paerison
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
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

File Attachment(s):
rssList.ascx (5kb) downloaded 60 time(s).
rssList.ascx.cs (5kb) downloaded 63 time(s).
LegacyDb.cs (360kb) downloaded 64 time(s).
CreateFN(rss_list_singleorall_fn).sql (2kb) downloaded 65 time(s).
CreateSP(rss_list).sql (1kb) downloaded 66 time(s).
Users browsing this topic

    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

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved