RadDateInput is a free-form date editing control. It assist date entry by accepting various date and time formats and tries to recognize them and convert them into valid dates. If the entry is successfully recognized, it will be formatted according to the current DateFormat and DisplayDateFormat property settings and displayed to the user. Erroneous output is signalled to the user by keeping the original text and applying a different, "error" CSS style.
RadDateInput formats and displays the date entered by the user according to a predefined format. Simply set DateFormat property to specify the relevant format for the date. You can also specify the culture information by setting the Culture property.
Example
The screenshots below illustrate how RadDateInput displays custom, long or short date format using the default en-US culture.
The Culture property is set to English(en-US) by default. A typical setup of RadDateInput is shown below.
| RadDateInput setup |
Copy Code |
|
<rad:RadDateInput style="FONT:8pt monospace" width="250px" id="RadDateInput1" runat="server" Skin="Default" DateFormat="dd MMMM yyyy - dddd" Culture="en-US"> </rad:RadDateInput> |
See Also