DwPaging.NextButtonText
Version: - stringSummary
Returns the text of the Next button.
Settings
The value is based on the Text field in the paragraph settings.
(Page - Paragraph - Modules - Paging - 'Next' button text)
Remarks
The tag is available when 'Text' or 'Text and image' is selected in 'Next' button type' in paragraph settings and you render a page where it's possible to go to a next page.
Examples
Outputting the template tag
@GetString("DwPaging.NextButtonText")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("DwPaging.NextButtonText"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("DwPaging.NextButtonText");
}
Outputting the template tag
<!--@DwPaging.NextButtonText-->
Check if string has a value
<!--@If Defined(@DwPaging.NextButtonText)-->
Let's output this tag here: <strong><!--@DwPaging.NextButtonText--></strong>
<!--@EndIf(@DwPaging.NextButtonText)-->