menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DropDownListValidationMessageBuilder

    Show / Hide Table of Contents

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved