CodeCharge Studio

FileName Variable (ASP)

Applies to

Page Context

Type

string

Access

read/write

Syntax

FileName [=value]

Description

This variable contains the name of the current page and is used to create links in the Navigator and Sorter components. For instance, the First, Next, Previous and Last links in the Navigator link to the page specified in this variable.

It is also useful for building local links on includable pages.

Examples

The following code builds refresh link pointing to current page with additional parameter attached.
It assumes RefreshLink is inserted on Header includable page.

Header.RefreshLink.Page = FileName
Header.RefreshLink.Parameters = CCAddParam(Header.RefreshLink.Parameters, "data", "refresh")

See Also

TemplateFileName Variable
Link Property


On-line, printable versions and updates