Link
The Link control renders as standard <a> </a> tags.
To make the Link work, the Click Event of the Link has to be created and the NavigateToPage action must be added to the Event handler.
Add a Link {% endembed %}
Properties
Section titled “Properties”-
Text
The text to be shown in the link.
-
Url
The url of the link.
-
Open in New Window
To open the link in a new tab.
-
Visible
Set to False if you don’t want this control to render on the page and be visible to the user.
Assigning data to a Link
Section titled “Assigning data to a Link”Example:
To display a link containing a specific value as text:
- Add a SetValue action to assign the value from the query to the Link’s Text property.
Example:
To include a URL parameter with a link:
- Create the destination page.
- In the page’s Properties section, add a parameter for the page.
- Create a Click Event for the link.
- Add a NavigateToPage action to the Click Event handler
- Select your destination page
- Select the value to assign to the parameter
- On the destination page the parameter will be available to assign (using SetValue ) to a control or to a variable for further use in queries or other actions.
Events
Section titled “Events”-
Click
An event that triggers when the link is clicked.