PageRenderTime 12ms CodeModel.GetById 10ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/widgets/Most comments/edit.ascx

#
ASP.NET | 22 lines | 15 code | 7 blank | 0 comment | 0 complexity | 8985333c6b12986be2e7924542e745b5 MD5 | raw file
 1<%@ Control Language="C#" AutoEventWireup="true" CodeFile="edit.ascx.cs" Inherits="Widgets.ModeComments.Edit" %>
 2
 3<label for="<%=cbShowComments.ClientID %>">Show comments</label><br />
 4<asp:CheckBox runat="Server" ID="cbShowComments" />
 5
 6<br /><br />
 7
 8<label for="<%=txtSize.ClientID %>">Avatar size (in pixels)</label><br />
 9<asp:TextBox runat="Server" ID="txtSize" />
10<asp:CompareValidator runat="Server" ControlToValidate="txtSize" Operator="dataTypeCheck" Type="integer" ErrorMessage="Please enter a valid number" />
11
12<br /><br />
13
14<label for="<%=txtNumber.ClientID %>">Number of commenters</label><br />
15<asp:TextBox runat="Server" ID="txtNumber" />
16<asp:CompareValidator runat="Server" ControlToValidate="txtNumber" Operator="dataTypeCheck" Type="integer" ErrorMessage="Please enter a valid number" />
17
18<br /><br />
19
20<label for="<%=txtDays.ClientID %>">Max age in days</label><br />
21<asp:TextBox runat="Server" ID="txtDays" />
22<asp:CompareValidator runat="Server" ControlToValidate="txtDays" Operator="dataTypeCheck" Type="integer" ErrorMessage="Please enter a valid number" />