websitepanel/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/Ecommerce/BillingCyclesAddCycle.ascx
2011-07-13 16:07:32 -07:00

37 lines
No EOL
1.7 KiB
Text

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="BillingCyclesAddCycle.ascx.cs" Inherits="WebsitePanel.Ecommerce.Portal.BillingCyclesAddCycle" %>
<div class="FormBody">
<table cellspacing="0" cellpadding="3">
<tr>
<td>
<asp:Localize runat="server" ID="lclCycleName" meta:resourcekey="lclCycleName" /></td>
<td>
<asp:TextBox runat="server" ID="txtCycleName" CssClass="NormalTextBox" Width="250px" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="txtCycleName" Display="Dynamic" ErrorMessage="*" />
</td>
</tr>
<tr>
<td>
<asp:Localize runat="server" ID="lclBillingPeriod" meta:resourcekey="lclBillingPeriod" /></td>
<td>
<asp:TextBox runat="server" ID="txtPeriodLength" CssClass="NormalTextBox" Width="100px" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="txtPeriodLength"
Display="Dynamic" ErrorMessage="*" />
<asp:RegularExpressionValidator runat="server" ControlToValidate="txtPeriodLength" ValidationExpression="\d+"
Display="Dynamic" ErrorMessage="*" />
&nbsp;
<asp:DropDownList runat="server" ID="ddlBillingPeriod">
<asp:ListItem Value="day" Text="Day(s)"/>
<asp:ListItem Value="month" Text="Month(s)"/>
<asp:ListItem Value="year" Text="Year(s)"/>
</asp:DropDownList>
</td>
</tr>
</table>
</div>
<div class="FormFooter">
<asp:Button id="btnCreateCycle" runat="server" meta:resourcekey="btnCreateCycle"
CssClass="Button1" OnClick="btnCreateCycle_Click" />&nbsp;
<asp:Button ID="btnCancel" runat="server" meta:resourcekey="btnCancel"
CssClass="Button1" CausesValidation="False" OnClick="btnCancel_Click" />
</div>