Sortby in Newslist problems =(

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
Sep 20, 2006 14:17
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()%>'>
Sep 20, 2006 14:32
It Worked =) Tank you 4 the help
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.