Export (0) Print
Expand All

FieldSortImageURL Element

SharePoint Team Services 1.1

The FieldSortImageURL element returns the URL to the image file used to indicate how a column is sorted. Rendering of this field is conditional on the current sorting URL sent in the request to the server.

Syntax

<FieldSortImageURL>
</FieldSortImageURL>

Related Elements

Parent Elements
Default

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. 

<ows:XML>
   <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>
   </Switch>
   <HTML><![CDATA[  BORDER=0>  ]]></HTML>
</ows:XML>

See Also

FieldFilterImageURL

FieldSortParams


Show:
© 2014 Microsoft