Visual InterDev
Specifies the custom HTML the PageNavbar control will use to generate the navigation bar link for the current page. Available at design time.
Settings
The settings for CurrentHTMLFragment are:
Setting | Description |
(none) | Specifies the PageNavbar control's standard HTML is used generate the navigation bar link for the current page |
HTML | Specifies the custom HTML you provide is used to generate the navigation bar link for the current page |
Use the following tokens in your custom HTML to substitute information for each link.
Token | Description |
#LABEL# | Inserts the page label for each link at run time in the custom HTML |
#THEME# | Inserts the current theme settings for the link |
#URL# | Inserts the URL for each link |
#CLASS# | Inserts the path of the CSS class for each page |
Remarks
You can set this property in the Current page template text box on the Appearance Tab of the PageNavbar Properties dialog box.
If this property has a value, it sets the VALUE attribute of the <PARAM> tag whose NAME attribute is "CurrentHTMLFragment."
Note To have the current page use the same custom HTML specified in the HTMLFragment Property, you must enter the same custom HTML for the CurrentHTMLFragment property.
Examples
For example, you could specify that the link for the current page appear within a sentences by entering the following:
This is the #LABEL# page.
When the user views the current page, such as Copyright.htm, in the browser, the link for the page will appear on the navigation bar as the following:
This is the Copyright page.