Irwsoft NETCore Asp

TimePicker
Brief Information
DescriptionTime control to input time data type (System.DateTime in .NET type).
FeaturesAccept Time data type and allow null / empty data.
Red shadow higlight when data changed.
DataFormat and auto validation.
TimePicker control
TimePicker control


The TimePicker control is input control for time data type (System.DateTime in .NET type) and as a helper control to provide time data to other control. This control accept one property only with Time data type. This control allows you to set null data by deleting existing data.

Note : The different with InputTime is that it can be used as helper control to provide time data to other control.


TimePicker as Input-Helper

TimePicker as input helper for Time data-type

Example : Input WorkStart data of WorkTime table with TimePicker


C# code for WorkTime table

// 1) Sample code for WorkTime table
public class WorkTime
{
     // 2) The columns of WorkTime table.
     public DateTime WorkStart { get; set;}  // 3) Input WorkStart property of WorkTime.
     public DateTime WorkEnd { get; set;}
}

ASPX code for TimePicker

// 1) Defines the TimePicker control
<TimePicker ID="TP1" SkinStyle="SimpleGrey" TimePickerMode="LongTime12">
     // 2) Defines a property to bind inside DataPropertyNames tag
     <DataPropertyName Name="WorkStart" DataType="Time" />
</TimePicker>


Related Topics :


Irwsoft Data Ultimate Edition 4.0 supports data-schema extension (entity framework, linq to sql, simple class, and etc).