1

DateFieldExt.netでカレンダーアイコンを削除/非表示にするにはどうすればよいですか?テキストを直接編集するだけで入力が必要です。

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,
};
4

1 に答える 1

1

単純 !!!

プロパティ「HideTrigger」をもう1つ追加し、「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
}; 

ありがとう

于 2012-06-26T07:03:54.397 に答える