2.22 UserSort

Applies to RDL 2005/01, RDL 2008/01, RDL 2010/01, and RDL 2016/01

The UserSort element specifies an end-user sort control that is displayed as part of a Textbox in a rendering of a Report. The control allows the user to select a sort direction (ascending, descending, or none).

The following are the parent and child elements of the UserSort element.

Parent elements

 Textbox

Child elements

 UserSort.SortExpression

 UserSort.SortExpressionScope

 UserSort.SortTarget

The following is the XML Schema definition of the UserSort element in RDL 2005/01 and RDL 2008/01.

 <xsd:complexType name="UserSortType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="SortExpression" type="xsd:string" />
     <xsd:element name="SortExpressionScope" type="xsd:string" minOccurs="0" />
     <xsd:element name="SortTarget" type="xsd:string" minOccurs="0" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

The following is the XML Schema definition of the UserSort element in RDL 2010/01 and RDL 2016/01.

 <xsd:complexType name="UserSortType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="SortExpression" type="xsd:string" />
     <xsd:element name="SortExpressionScope" type="xsd:string" minOccurs="0" />
     <xsd:element name="SortTarget" type="xsd:string" minOccurs="0" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>