menu

ASP.NET MVC

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

    Show / Hide Table of Contents

    Class DropDownListValidationRuleBuilder

    Used as lambda expresion to set values for ValidationRules property of DropDownList HtmlHelper

    Inheritance
    System.Object
    DropDownListValidationRuleBuilder
    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 DropDownListValidationRuleBuilder

    Constructors

    DropDownListValidationRuleBuilder(DropDownList)

    Declaration
    public DropDownListValidationRuleBuilder(DropDownList dropdownlist)
    Parameters
    Type Name Description
    DropDownList dropdownlist

    Methods

    AddRule(String, Object)

    Add Jquery validation rule to the Autocomplete element

    Declaration
    public DropDownListValidationRuleBuilder AddRule(string key, object value)
    Parameters
    Type Name Description
    System.String key
    System.Object value
    Returns
    Type Description
    DropDownListValidationRuleBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved