I implemented the extended class SetInitialSortOrder for sorting a single column and it works will when the column that needs to be sorted is not a foreign key, otherwise it throws an exception.
Also, when modifing this implementaion to sort multiple columns, I ran into an issue with defining more than one column in the DisplayColumn annotation. It throws and exception and does not like this.
bjrivera
Member
14 Points
17 Posts
Re: Sorting 2 columns in List.aspx
Apr 25, 2012 02:03 PM|LINK
Hi sjnaughten:
I implemented the extended class SetInitialSortOrder for sorting a single column and it works will when the column that needs to be sorted is not a foreign key, otherwise it throws an exception.
Also, when modifing this implementaion to sort multiple columns, I ran into an issue with defining more than one column in the DisplayColumn annotation. It throws and exception and does not like this.
Is there a known solution for this?
Thank you for your assistance.