你如何清除datebox
价值?默认情况下,加载时 mydatebox
具有以下数据:
"01/01/0001 00:00:00"
从视图:
@Html.TextBoxFor(m => m.Date, new { @id = "date", @name = "date", @data_role = "datebox",@value="", @data_options = " {'mode':'calbox' }", @onload="this.value='';" })
从控制器: