aoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.orgaoec.org

Posts Tagged ‘sorting’

Sorting GridView in Imar.Spaanjaars article

Articls are posted here – by Imar Spaanjaars

For Sorting:

1. Create an overload of GetList that accepts the SortExpression as a String.

2. Change the ODS declaration so it contains a parameter for this new sortExpression:

[SelectParameters]
[asp:Parameter Name=”sortExpression” Type=”String” /]
[/SelectParameters]

3. Set the SortParameterName attribute of the ODS:

SortParameterName=”sortExpression”

4. Enable sorting on the GridView.

Sorting GridView in Imar.Spaanjaars article

Articls are posted here: http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=416

For Sorting:

1. Create an overload of GetList that accepts the SortExpression as a String.

2. Change the ODS declaration so it contains a parameter for this new sortExpression:

[SelectParameters]
[asp:Parameter Name=”sortExpression” Type=”String” /]
[/SelectParameters]

3. Set the SortParameterName attribute of the ODS:

SortParameterName=”sortExpression”

4. Enable sorting on the GridView.