Click or drag to resize
KaxDatePickerDbSelectedDate Property
Gets or sets the date content of KaxDatePicker 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
[TypeConverterAttribute(typeof(DateTimeConverter))]
public Object DbSelectedDate { get; set; }

Property Value

Type: Object
A DateTime object that represents the selected date. The default value is null (Nothing in VB).
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 internally revert the SelectedDate to the null value, i.e. the input value will be empty.
Examples
The following example demonstrates how to use the DbSelectedDate property to set the content of KaxDatePicker.
private void Page_Load(object sender, System.EventArgs e)
{
    KaxDatePicker1.DbSelectedDate = tableRow["BirthDate"];
}
See Also