Click or drag to resize
KaxDateInputDbSelectedDate Property
Gets or sets the date content of KaxDateInput in a database-friendly way.

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

Property Value

Type: Object
A DateTime object that represents the selected date. The default value is MinDate.
Remarks
This property behaves exactly like the SelectedDate property. The only difference is that it will not throw an exception if the new value is null or DBNull. Setting a null value will revert the selected date to the MinDate value.
Examples
The following example demonstrates how to use the SelectedDate property to set the content of KaxDateInput.
private void Page_Load(object sender, System.EventArgs e)
{
    KaxDateInput1.DbSelectedDate = tableRow["BirthDate"];
}
See Also