Class AutocompleteValidationMessageBuilder
Used as lambda expression to set values for validation message property of AutoComplete HtmlHelper property.
Inheritance
System.Object
AutocompleteValidationMessageBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class AutocompleteValidationMessageBuilder
Constructors
AutocompleteValidationMessageBuilder(Autocomplete)
Declaration
public AutocompleteValidationMessageBuilder(Autocomplete autocomplete)
Parameters
Type | Name | Description |
---|---|---|
Autocomplete | autocomplete |
Methods
AddMessage(String, Object)
Add jquery validation message to the Autocomplete element
Declaration
public AutocompleteValidationMessageBuilder AddMessage(string key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Object | value |
Returns
Type | Description |
---|---|
AutocompleteValidationMessageBuilder |