📄 ordate.ascx.cs
字号:
namespace Caisis.UI.Modules.All.Eforms
{
using System;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using Caisis.UI.Core;
using Caisis.BusinessObject;
using Caisis.UI.Core.Classes;
/// <summary>
/// Summary description for ORDate.
/// </summary>
public class ORDate : BaseEFormControl
{
//protected EformTextBox ORDateText;
//protected EformHidden ORDateField;
//protected HtmlImage ORDateTextCal;
protected override void Page_Load(object sender, System.EventArgs e)
{
// calendar function is now a property of the field
//PageUtil.AddCalendarFunction(ORDateTextCal, ORDateText);
//ORDateText.Attributes.Add("onBlur", "fuzzyDate(" + ORDateText.ClientID.ToString() + ", " + ORDateField.ClientID.ToString() + ");");
// postback handled in base
base.Page_Load(sender, e);
// default OR date to today, must come after call to base page_load
//if(ORDateText.Value.Equals(""))
//{
// ORDateText.Value = DateTime.Now.ToShortDateString();
// ORDateField.Value = DateTime.Now.ToString();
//}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -