如何从Ext.net中的DateField
删除/隐藏日历图标?我只需要直接编辑文本就需要输入。
DateField dtPlanDate = new DateField {
ID = "dtPlanDate",
FieldLabel = Strings.PlanDate,
LabelAlign = LabelAlign.Top,
ToolTip = "Enter Date",
Value = DateTime.Today,
MinDate = DateTime.Today,
MaxDate = DateTime.Today.AddDays(1),
StartDay = (int)DayOfWeek.Monday,
};
答案 0 :(得分:0)
简单!!!
再添加一个属性“HideTrigger”并将其设置为“true”
DateField dtPlanDate = new DateField {
ID = "dtPlanDate",
FieldLabel = Strings.PlanDate,
LabelAlign = LabelAlign.Top,
ToolTip = "Enter Date",
Value = DateTime.Today,
MinDate = DateTime.Today,
MaxDate = DateTime.Today.AddDays(1),
StartDay = (int)DayOfWeek.Monday,
HideTrigger=true
};
由于