|
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TopicList.ascx.cs" Inherits="Controls_TopicList" %>
<div class="pageNavigation">
<span id="lblCurrentPage" runat="server" /> of
<span id="lblTotalPage" runat="server" />
<asp:LinkButton ID="linkPrev" runat="server" CssClass="previous" OnClick="linkPrev_Click">Prev</asp:LinkButton>
<asp:LinkButton ID="linkNext" runat="server" CssClass="next" OnClick="linkNext_Click">Next</asp:LinkButton>
</div>
<table class="datatable" width="100%">
<thead>
<tr>
<th>Subject</th>
<th>Replies</th>
<th>Last Post</th>
</tr>
</thead>
<tbody>
<asp:Repeater ID="listRepeater" runat="server">
<ItemTemplate>
<tr>
<td>
<a href="<%# GetViewTopicUrl( (string)Eval("Id") ) %>">
<%# Server.HtmlEncode((string)Eval("Title")) %>
</a><br />
by <%# Utilities.GetDisplayUser((string)Eval("Owner"))%>
</td>
<td align="center">
<%# GetRepliesCount((Eucalypto.Forum.Topic)Container.DataItem)%>
</td>
<td>
<small>
<%# GetLastPost((Eucalypto.Forum.Topic)Container.DataItem)%>
</small>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</tbody>
</table>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.