ASP.NET MVC

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DropDownListValidationRuleBuilder - ASP.NETMVC API Reference | Syncfusion

    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 - 2021 Syncfusion Inc. All Rights Reserved