Irwsoft NETCore Asp

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


The InputTime tag-helper is input tag-helper for time data type (System.DateTime in .NET type). 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 TimePicker is that it has simple design like a text-box and good for form data entry.

Example : Input WorkStart data of WorkTime table with InputTime


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 InputTime

// 1) Defines the InputTime tag-helper
<InputTime ID="ITM1" SkinStyle="SimpleGrey" TimePickerMode="LongTime12">
     // 2) Defines a property to bind inside DataPropertyNames tag
     <DataPropertyName Name="WorkStart" DataType="Time" />
</InputTime>


Related Topics :


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