|
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SearchResult.ascx.cs" Inherits="Controls_SearchResult" %>
<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>
<asp:Repeater ID="listRepeater" runat="server">
<ItemTemplate>
<div class="searchBox">
<a href="<%# GetViewUrl((Eucalypto.ISearchResult)Container.DataItem ) %>">
<h3 class="searchTitle"><%# HttpUtility.HtmlEncode( ((Eucalypto.ISearchResult)Container.DataItem).Title ) %></h3>
</a>
<div class="searchBody"><%# HttpUtility.HtmlEncode( ((Eucalypto.ISearchResult)Container.DataItem).Description ) %></div>
<small class="searchFooter"><%# HttpUtility.HtmlEncode( ((Eucalypto.ISearchResult)Container.DataItem).Category ) %> -
<%# Utilities.GetDateTimeForDisplay(((Eucalypto.ISearchResult)Container.DataItem).Date)%></small>
</div>
</ItemTemplate>
</asp:Repeater>
|
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.