I am trying to make a modification to your code regarding the above mentioned control.
Could someone please point me in the correct direction on where this ddl is bound to?
I think you should look at /Controls/FieldDropDownListFilter.ascx. The method BindLayout fills this dropdownlist.
I found that method yesterday - but still I'm confuzed.
Looks like your loading the data with a resource file or something.
All I want to do is change the binding to module.friendlyname(which can be changed through DNN) instead of module name.
Hi,
the retrieval from a resource file is only when the target Lucene field was declared in the corresponding glossary with the "LocalizeValuedInstance" property to true (false by default)
The FieldName property from the FieldFilterBase control base class of the user control inserted in your filtering template user control is probably what you want to edit.
From DefaultFieldGlossary.vb (or from browsing your local index with Luke for instance), I can see that the target field you want is "FriendlyModuleName", and it is not declared as Localized.
Now I guess all of this is a bit complex (you have parameters for indexing, others for displaying, and field definitions actually serve both).
Does that make sense though?
Regards
I'm sure it makes sense to you - cause you wrote it.
Me I don't use VB - for one.
I am not very experienced in C# either.
A simple modify this file here - is the only way I will be able to make this work.
This project is pretty complex.