+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Need to display description content in the search results page

Need to display description content in the search results page

5 posts, 0 answered
  1. Shekar
    Shekar avatar
    35 posts
    Registered:
    11 Mar 2011
    23 Mar 2011
    Link to this post
    I am try to format the search results page by adding an additional field - Description, as when we search for a some text in the search box page, the list of matching item is displayed with title, snippet and url. instead of displaying snippet i want to fetch the description of the page which is entered from the admin section under respective properties page.
    kindly provide some sample code to integrate this.

    Thanks for your the support.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    23 Mar 2011
    Link to this post
    Hello Shekar,

    Please take a look at this blog pots that show show to access the ResultItem from the SearchResult control template

    http://www.sitefinity.com/blogs/ivandimitrov/ivanposts/09-11-05/separating_search_results_in_multilingual_websites.aspx

    Best wishes,
    Ivan Dimitrov
    the Telerik team
  3. Shekar
    Shekar avatar
    35 posts
    Registered:
    11 Mar 2011
    24 Mar 2011
    Link to this post
    Can you please be more descriptive on this, as i am unable to fix it.

    and also please let me know,  can we make these results listed in alphabetical order.

    Thanks for your support.
  4. Shekar
    Shekar avatar
    35 posts
    Registered:
    11 Mar 2011
    25 May 2011
    Link to this post
    ..
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    25 May 2011
    Link to this post
    Hi Shekar,

    Please let me know what exactly is not clear for you. You can create alphabetic order pasted on the ResultItem - Title propery using LINQ and its methods like OrderBy

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
5 posts, 0 answered