Bean Software                                            Bean  Software Search Control

        Documentation
  Intro
  Properties and methods
  Tutorial
  Get it now
Support e-mail

 


KeywordNOT Property

Description: This property represent NOT operator in expression searching. TypeOfSearch property must be set to enuTypeOfSearch.Expression. Using this property is recommended on multi cultural and non English sites to achieve more visitors friendly environment.


Data type: String
Default value: "NOT"
Example: You can set KeywordNOT property to “NICHT”, what is more common to German visitors:

    SearchControl1.KeywordNOT = “NICHT”;

When visitor input string like: “Apfel nicht Banane”, Search control will return SQL that search records that contain string “Apfel” but that not contain “Banane” term.