How to disable the dropdownlist in DetailView depending on the date? <p>I'm using a <code>DropDownList</code> in the <code>DetailView</code> (EditMode) and I would like to disable it depending on the date of the system. For example : between the 18 June and the 20 June, make the dropdownlist <em>disabled</em> (gray).</p> <p>Any idea ?</p>