C# Class Framework.Mvc.ElementsTypes.Generic.DateAttribute

Date picker attribute.
Inheritance: TextBoxAttribute, IValidatableElement
Show file Open project: coreframework/Core-Framework

Public Methods

Method Description
Render ( HtmlHelper html, String name, String value, String values ) : string

Renders the specified HTML.

Validate ( ModelStateDictionary modelState, string name, string value ) : void

Validates the specified element.

Method Details

Render() public method

Renders the specified HTML.
public Render ( HtmlHelper html, String name, String value, String values ) : string
html HtmlHelper The HTML helper.
name String The element name.
value String The element value.
values String The element values.
return string

Validate() public method

Validates the specified element.
public Validate ( ModelStateDictionary modelState, string name, string value ) : void
modelState ModelStateDictionary State of the model.
name string The element name.
value string The element value.
return void