If you use the smart search you may use the Eval function in transformation: <%# Eval("Pages") %>.

If you use the SQL search you may clone the SearchResult web part and add the code like this:

protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
if (srchResults.DataSource != null)
ltlRepeaterCount.Text = srchResults.DataSource.Tables[0].Rows.Count.ToString();
}

It needs to add the literal control with ltlRepeaterCount ID to the template.

 
0 ratings
Sitemap | Content Management System | E-commerce Software | Social Networking Software | Intranet | Online Marketing Solution | Copyright © 2004-2013 Kentico Software | Powered by Kentico CMS