Cannot find AdditionalSearchColumns field for UniSelector

Tomasz Sikora asked on July 19, 2017 10:42

In Kentico documentation it says that there should be AdditionalSearchColumns property.

https://docs.kentico.com/k10/references/kentico-controls/ui-controls/uniselector

However I cannot find it in general properties of my field for my webpart: Image Text

How can I make my uni selector to search in more than 1 column? Or specify different column to search?

Recent Answers


Trevor Fayas answered on July 19, 2017 17:16

I don't see the property either, however the UniSelector control itself does accept the AdditionalSearchColumns, so if you add that field to the control's Properties and fill it, it should work just fine. The control inherits from the CMS.UIControls.UniSelector class which has a virtual AdditionalSearchColumns.

I can't guarantee though that the code is using it...i can't see their compiled code for the class : /

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.