PageRenderTime 136ms CodeModel.GetById 19ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/source/app/NOS.Wiki/PageSelector.ascx

http://github.com/agross/netopenspace
ASP.NET | 9 lines | 8 code | 1 blank | 0 comment | 0 complexity | c8d5f802322295574891263e6529fe54 MD5 | raw file
1<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PageSelector.ascx.cs" Inherits="ScrewTurn.Wiki.PageSelector" %>
2
3<anthem:Repeater ID="rptPages" runat="server" OnItemCommand="rptPages_ItemCommand" AutoUpdateAfterCallBack="true">
4	<ItemTemplate>
5		<anthem:LinkButton ID="lnkPage" runat="server" Text='<%# Eval("Text") %>'
6			CommandName="Select" CommandArgument='<%# Eval("Page") %>'
7			CssClass='<%# (bool)Eval("Selected") ? "selected" : "" %>' />
8	</ItemTemplate>
9</anthem:Repeater>