November Happy Hour will be moved to Thursday December 5th.

Sortby in Newslist problems =(

Vote:
 
I´m trying to sort a Contact list by a given Property called "LastName". The .ascx code looks like this. " PageLinkProperty="ListingContainerContact" runat="server" MaxCount='<%#getcount()%>'> But i get this error message that says: CS0117: 'System.Web.UI.Control' does not contain a definition for 'CurrentPage' Any1 that got any ideas or Perhaps code examples for solving this matter Tnx in advice
#12783
Sep 20, 2006 14:17
Vote:
 
I think you just need to specify the name of the property rather than attempt to obtain it's value, ie episerver:newslist id="NewsListControl" SortBy="LastName" PageLinkProperty="ListingContainerContact" runat="server" MaxCount='<%#GetCount()%>'>
#14893
Sep 20, 2006 14:32
Vote:
 
It Worked =) Tank you 4 the help
#14894
Sep 20, 2006 15:26
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.