|
asp-for |
string |
n/a |
An expression containing an enumerable list. |
|
asp-action |
string |
Current Action |
The name of the action method. |
asp-controller |
string |
Current Controller |
Gets or sets the controller. |
asp-protocol |
string |
- |
The protocol for the URL, such as "http" or "https". |
asp-host |
string |
- |
The host name. |
asp-fragment |
string |
- |
The URL fragment name. |
|
id |
string |
auto-generated |
Id that will be assocated to anchor/button control. If none is specified one will be auto-generated. |
|
replace-id |
string |
auto-generated |
Id of an element where the result of the load more action will be inserted/replaced. |
|
skip |
int |
|
These are the basic parameters required for the pager to operate.
If omitted, the control will attempt to obtain the values from either the specified asp-for model (if specified) or the current view model.
An [ArgumentException] will be thrown if the values can not be obtained.
|
total |
int |
|
|
<>#content</> |
string |
"Load More" |
Specify the message that will be displayed on the anchor/button.
Tokens can also be specified in the string in the form of "{{name}}". These tokens should exist in the current view model (as a property) and its value used as the string replacement.
|