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
Mar 25, 2008 18:35
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
Mar 25, 2008 18:46
Vote:
 
It Worked =) Tank you 4 the help
#14894
Mar 25, 2008 18:46
* 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.