Click or drag to resize
KaxDateInputDateFormat Property
Gets or sets the date and time format used by KaxDateInput.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public virtual string DateFormat { get; set; }

Property Value

Type: String
A string specifying the date format used by KaxDateInput. The default value is "d" (short date format).

Implements

IKaxDateInputDateFormat
Examples
[New Example]
private void Page_Load(object sender, System.EventArgs e)
{
    KaxDateInput1.DateFormat = "M/d/yyyy"; //Short date pattern. The same as "d".
}
[New Example]
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
    KaxDateInput1.DateFormat = "M/d/yyyy" 'Short date pattern. The same as "d".
End Sub
See Also