Irwsoft NETCore Asp

TimePicker
Brief Information
DescriptionTime tag-helper 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 tag-helper
TimePicker tag-helper


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

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


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 tag-helper
<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).