Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to build a filer (search) user interface for search results page. Thus a have a few Managed Properties I want users to search by. For example, I have a department property (sting) and I want to have a drop down with all department names. How can I get these values to display in my UI using C# code?

share|improve this question
add comment

1 Answer 1

You could probably do this without C#. The Refinements Web Part will display the Managed Properties in results, and you can use an XSLT transformation against this to show the properties in a dropdown.

share|improve this answer
    
Thanks, for the reply, I want to know about C# way cause in the filter web part there will be other controls like text boxes for querying other managed properties like keyword itself and so on. Also there should be a date range selection. Something like advanced search but designed for specific options only. –  Yuri Leontyev May 16 '12 at 10:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.