SiteSearchAsp.Net




OverviewFeaturesDemoDownload / PurchaseSupportContact



Change the title of PDF's within your result list from 'PDF File' to the PDF File Name

To have a more informative title, update the <%# Search.Render(Container,"PageTitle") %> tag to be:

C# example:
<%# (Search.Render(Container,"PageTitle") 
  == "PDF File") ?
  Search.Render(Container,"PageUrlShort") :
  Search.Render(Container,"PageTitle") %>

VB.NET example:
<%# IIF(Search.Render(Container,"PageTitle") == 
    "PDF File"), 
    Search.Render(Container,"PageUrlShort"),
    Search.Render(Container,"PageTitle")) %>




Need further help/assistance?

Return to support page     or     Contact us.






Download our free developer version now, with all features enabled for localhost development, and free Lite edition license for your website.

>> Download now