Class DropDownListValidationMessageBuilder
Used as lambda expresion to set values for ValidationMessage property of DropDownList HtmlHelper
Inheritance
System.Object
DropDownListValidationMessageBuilder
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 DropDownListValidationMessageBuilder
Constructors
DropDownListValidationMessageBuilder(DropDownList)
Declaration
public DropDownListValidationMessageBuilder(DropDownList dropdownlist)
Parameters
Type | Name | Description |
---|---|---|
DropDownList | dropdownlist |
Methods
AddMessage(String, Object)
Add jquery validation message to the DropDownList element
Declaration
public DropDownListValidationMessageBuilder AddMessage(string key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Object | value |
Returns
Type | Description |
---|---|
DropDownListValidationMessageBuilder |