AI OnAI Off
<%#sortnewslistby%> SortDirection=<%#sortdirection%> Visible="True" PageLink=<%#currentpagelink%> ID="newsList" runat="server">
%#currentpagelink%>%#sortdirection%>%#sortnewslistby%>
SortNewsListBy and SortDirection is two properties in the "code behind"-page and when SortNewsListBy = "PageName" then the sort functions as expected, but when SortNewsListBy="Saved" the SortDirection-property is ingnored the pages is always sort with the newest on top. What have I done wrong? It feels almost like a bug when it works for one built in property but not the other or can it have anything to do with the fact that the other property is a Date-property? Any help is appreciated regs //Stefan