PageUrl Element
The PageUrl element can be used anywhere to return the absolute, encoded URL of the current page.
Syntax
<PageUrl>
</PageUrl>
Related Elements
Parent Elements |
---|
Default, PagedRowset |
Example
The following example renders the URL of the current page as the default value.
<Default>
<HTML>
<![CDATA[ <A ID="diidSort ]]>
</HTML>
<Property Select="Name" />
<HTML>
<![CDATA[ " TITLE=]]>
</HTML>
<HTML>
"Sort by
</HTML>
<Property Select="DisplayName" HTMLEncode="TRUE" />
<HTML>
<![CDATA[ " SORTINGFIELDS=" ]]>
</HTML>
<FieldSortParams />
<HTML>
<![CDATA[ " HREF=" ]]>
</HTML>
<PageUrl />
<HTML>?</HTML>
<FieldSortParams />
<HTML>
<![CDATA[ "> ]]>
</HTML>
</Default>