From d43a4dc61db8d894960014944d9c0ef61c84de6b Mon Sep 17 00:00:00 2001 From: robvde Date: Sat, 26 Jan 2013 08:57:11 +0400 Subject: [PATCH] Increased the KeepDeletedItems box to allow 4 digits --- .../ExchangeServer/UserControls/DaysBox.ascx | 4 +- .../UserControls/DaysBox.ascx.designer.cs | 44 ++++++++++++++++--- 2 files changed, 40 insertions(+), 8 deletions(-) diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/DaysBox.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/DaysBox.ascx index b48390b4..aa2cf90e 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/DaysBox.ascx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/DaysBox.ascx @@ -1,7 +1,7 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DaysBox.ascx.cs" Inherits="WebsitePanel.Portal.ExchangeServer.UserControls.DaysBox" %> - + + ErrorMessage="Enter correct number" ControlToValidate="txtValue" Display="Dynamic" ValidationExpression="[0-9]{1,4}" SetFocusOnError="True"> diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/DaysBox.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/DaysBox.ascx.designer.cs index 9f0824f1..6e71a859 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/DaysBox.ascx.designer.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/DaysBox.ascx.designer.cs @@ -1,19 +1,51 @@ //------------------------------------------------------------------------------ // // 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. +// the code is regenerated. // //------------------------------------------------------------------------------ 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; + + /// + /// txtValue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtValue; + + /// + /// locDays control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Localize locDays; + + /// + /// valRequireCorrectNumber control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RegularExpressionValidator valRequireCorrectNumber; + + /// + /// valRequireNumber control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator valRequireNumber; } }