Increased the KeepDeletedItems box to allow 4 digits
This commit is contained in:
parent
4b95ae7d21
commit
d43a4dc61d
2 changed files with 40 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DaysBox.ascx.cs" Inherits="WebsitePanel.Portal.ExchangeServer.UserControls.DaysBox" %>
|
||||
<asp:TextBox ID="txtValue" runat="server" CssClass="TextBox50" MaxLength="3"></asp:TextBox>
|
||||
<asp:TextBox ID="txtValue" runat="server" CssClass="TextBox50" MaxLength="4"></asp:TextBox>
|
||||
<asp:Localize ID="locDays" runat="server" meta:resourcekey="locDays" Text="days"></asp:Localize>
|
||||
<asp:RegularExpressionValidator ID="valRequireCorrectNumber" runat="server" meta:resourcekey="valRequireCorrectNumber"
|
||||
ErrorMessage="Enter correct number" ControlToValidate="txtValue" Display="Dynamic" ValidationExpression="[0-9]{1,3}" SetFocusOnError="True"></asp:RegularExpressionValidator>
|
||||
ErrorMessage="Enter correct number" ControlToValidate="txtValue" Display="Dynamic" ValidationExpression="[0-9]{1,4}" SetFocusOnError="True"></asp:RegularExpressionValidator>
|
||||
<asp:RequiredFieldValidator ID="valRequireNumber" runat="server" ControlToValidate="txtValue" meta:resourcekey="valRequireNumber"
|
||||
Display="Dynamic" ErrorMessage="The number of days could not be left blank" SetFocusOnError="True"></asp:RequiredFieldValidator>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.42
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
@ -10,10 +9,43 @@
|
|||
|
||||
namespace WebsitePanel.Portal.ExchangeServer.UserControls {
|
||||
|
||||
|
||||
public partial class DaysBox {
|
||||
protected System.Web.UI.WebControls.TextBox txtValue;
|
||||
protected System.Web.UI.WebControls.Localize locDays;
|
||||
protected System.Web.UI.WebControls.RegularExpressionValidator valRequireCorrectNumber;
|
||||
protected System.Web.UI.WebControls.RequiredFieldValidator valRequireNumber;
|
||||
|
||||
/// <summary>
|
||||
/// txtValue control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtValue;
|
||||
|
||||
/// <summary>
|
||||
/// locDays control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locDays;
|
||||
|
||||
/// <summary>
|
||||
/// valRequireCorrectNumber control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RegularExpressionValidator valRequireCorrectNumber;
|
||||
|
||||
/// <summary>
|
||||
/// valRequireNumber control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator valRequireNumber;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue