November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
<?xml:namespace prefix = episerver/><episerver:pagelist id=searchList runat="server" visible="false" pagesperpagingitem="<%# ItemsPrPage %>" paging="true" pagelinkproperty="SearchPage"><HEADERTEMPLATE>
<H2><?xml:namespace prefix = asp/><asp:literal id=Literal1 runat="server" text="<%$ Resources: EPiServer, search.searchresult %>"></asp:literal></H2>
<OL><BR></OL></HEADERTEMPLATE><ITEMTEMPLATE>
<LI class=searchResult><A class=linkmarker href="<%#EPiServer.UriSupport.AddLanguageSelection((string)DataBinder.Eval(Container.DataItem, " languagebranch=")) %>" linkurl="), (string)DataBinder.Eval(Container.DataItem, "><%# DataBinder.Eval(Container.DataItem, "PageName")%></A>
<P><%# GetPreviewText(Container.DataItem) %> </P><I><SPAN class=dateTime id=Span1 runat="server"><%# DataBinder.Eval(Container.DataItem, "Changed", "{0:g}")%> </SPAN></I></LI></ITEMTEMPLATE><FOOTERTEMPLATE></FOOTERTEMPLATE></episerver:pagelist></CODE>And in the codebhind file, in the protected override void OnLoad(....) i added the following code at the end: <CODE>searchList.DataSource = SearchDataSource.Select(DataSourceSelectArguments.Empty); searchList.DataBind();
And I replaced all references to SearchResult with my searchList -- Lars Øyvind Bodahl www.epinova.no