Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Returns the URL to the image file that is used to indicate how a column is sorted. Rendering of this field is conditional, based on the current sorting URL that is sent in the request to the server.
<FieldSortImageURL>
</FieldSortImageURL>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
None
Parent elements
Numerous
Occurrences
- Minimum: 0
- Maximum: Unbounded
Example
The following example creates an <IMG> tag for the icon that is used to reflect the direction of a sort. The FieldSortImageURL element returns the URL to the image.
<HTML><![CDATA[<IMG SRC="]]></HTML>
<FieldSortImageURL/>
<HTML><![CDATA[" ALT=]]></HTML>
<Switch>
<Expr>
<GetVar Name='SortDir'/>
</Expr>
<Case Value='Asc'>
<HTML>"Sort Ascending"</HTML>
</Case>
<Case Value='Desc'>
<HTML>"Sort Descending"</HTML>
</Case>
<Default>
<HTML>""</HTML>
</Default>
</Switch>
<HTML><![CDATA[ BORDER=0>]]></HTML>