On this page
@addTagHelper *, Webority.Ui.RazorLast N days
Use a short row of day counts for a report that covers a recent window, such as the last 30 days.
7, 30 or 90 days
Month
Pick one calendar month for a monthly report, with arrows to step back and forward.
A month
Financial year
Pick an Indian financial year, from 1 April to 31 March, for a yearly report.
Three financial years
Quarter
Pick a financial-year quarter, where Q1 is April to June, to compare one quarter with another.
A quarter
Date range
Pick any start and end day, with optional quick ranges, when no fixed period fits.
A custom range
Every option
Every value of every prop, one cell each.
kind: all five
kind="days" (default)kind="month"kind="fy"kind="quarter"kind="range"name: the posted field
name="period", the field it posts asvalue: the posted form
value unset (default)value="90", kind daysvalue="2026-10", kind monthvalue="2026", kind fyvalue="2026-Q1", kind quarteroptions: the day counts
options="7,30,90" (default)options="7,14,30,60,90" (five: a segmented row)options="7,14,30,60,90,180" (six: a select)years: financial years back
years="1"years="3" (default)years="5"label: the accessible name
label="Reporting period", read aloud, not shownlabel="Period" (default)auto-submit: submit on change
auto-submit="true" (default)auto-submit="false"from-name: the first day's field
from-name="start", the field the first day posts asto-name: the last day's field
to-name="end", the field the last day posts asfrom: the first day
from="2026-04-01"to: the last day
to="2026-06-30"presets: the quick ranges
presets="today,thisMonth"presets="today,last7Days,thisMonth,lastMonth,thisFinancialYear"Reference
Try every prop, read the full list, and check keyboard and screen reader behaviour.
12 props.
Less common 12 props
| Prop | Type | Default | Description |
|---|---|---|---|
| kinddefault days | days | month | fy | quarter | range | days | Which control to draw. Any other value throws. |
| namedefault - | string | - | The field the period posts as. Required for every kind but range. |
| valuedefault - | string | - | The selected value, in the kind's posted form (30, 2026-10, 2026, 2026-Q1). Unset picks the current period; for days, the first option. A value that is not one of the choices throws. |
| optionsdefault 7,30,90 | string | 7,30,90 | days: the day counts offered, as a comma list of whole numbers. Up to five show as a segmented row, more as a select. |
| yearsdefault 3 | int | 3 | fy and quarter: how many financial years back the choices go, the current one included. |
| labeldefault Period | string | Period | The control's accessible name. |
| auto-submitdefault true | bool | true | Submit the form when the period changes. An Apply button shows only without script. |
| from-namedefault - | string | - | range: the field the first day posts as. Required for range. |
| to-namedefault - | string | - | range: the field the last day posts as. Required for range. |
| fromdefault - | string | - | range: the selected first day, yyyy-MM-dd. |
| todefault - | string | - | range: the selected last day, yyyy-MM-dd. |
| presetsdefault - | string | - | range: the quick ranges the picker offers, in the date-range picker's own form: names such as today,last7Days,thisMonth, or a JSON array of { label, start, end }. |