CS4 webControl25

CS4 webControl25

TimeLine25

Overview

TimeLine25 is a reusable UI component used to render a vertical timeline view with cards, icons, status indicators, and color-coded events.

It is ideal for representing shipment timelines, activity logs, order progress, approval flows, and status history.

Key Features

  • Vertical timeline layout
  • Multiple rows per timeline card
  • Status dot with color coding
  • Blinking active status support
  • FontAwesome icon support
  • Badge-style background indicators
  • Graceful empty-state handling

Core Classes & Enums

BackgroundColor Enum

Value Description
NoneNo background color
GreenSuccess / Completed
RedError / Cancelled
YellowWarning / Pending
BlueInformation / In Progress
GreyInactive / Neutral

Row Class

Property Type Description
NamestringText displayed in timeline
ColorstringCustom text color
IconstringFontAwesome icon class
IconColorstringIcon color
IsBoldboolBold text
IsBlinkboolBlinking status indicator
BackgroundColorenumStatus badge color
ButtonHtmlstringCustom action button HTML

Adding Timeline Rows


var timeline = new TimeLine25();

timeline.AddRow(new List
{
    new TimeLine25.Row
    {
        Name = "Order Created",
        Icon = "fas fa-plus-circle",
        IsBold = true,
        BackgroundColor = TimeLine25.BackgroundColor.Blue
    }
});
    

Integration Example


@Html.Raw(timeline.GetHtml())