| |
|
|
|
|
Text Property
Represents a string that is visible in text box of Search Control. Value of this property is used when getWhereClause() method is called. If getWhereClause is called with SearchExpression parameter, Text property value is ignored.
[Visual Basic .NET]
Public Property Text() As String
|
[C#]
public string Text() {get; set;}
|
string
empty string
Set Text property to "Apple" and call getWhereClause() method without a parameter. Control will return a SQL that search for Apple term.
You can call getWhereClause with SearchExpression parameter with code like this:
SearchControl1.getWhereClause("apple and banana");
|
|
|
| |