C# Class Manos.Mvc.FormHelperExtension

Mostra file Open project: toptensoftware/manos

Public Methods

Method Description
BeginForm ( this This ) : HtmlForm
CheckBox ( this This, string key, object value = null, object htmlAttributes = null ) : HtmlString
EndForm ( this This ) : void
Hidden ( this This, string key, object value = null, object htmlAttributes = null ) : HtmlString
Input ( this This, string type, string key, object value = null, object htmlAttributes = null ) : HtmlString
Label ( this This, string text, string key = null ) : HtmlString
Password ( this This, string key, object value = null, object htmlAttributes = null ) : HtmlString
RadioButton ( this This, string key, object button_value, object form_value = null, object htmlAttributes = null ) : HtmlString
RegisterFormField ( this This, string key ) : void
ResolveFormValue ( this This, string key, object value ) : object
TextArea ( this This, string key, object value = null, object htmlAttributes = null ) : HtmlString
TextBox ( this This, string key, object value = null, object htmlAttributes = null ) : HtmlString
ValidationSummary ( this This ) : string

Private Methods

Method Description
GetFormData ( this This ) : FormData

Method Details

BeginForm() public static method

public static BeginForm ( this This ) : HtmlForm
This this
return HtmlForm

CheckBox() public static method

public static CheckBox ( this This, string key, object value = null, object htmlAttributes = null ) : HtmlString
This this
key string
value object
htmlAttributes object
return HtmlString

EndForm() public static method

public static EndForm ( this This ) : void
This this
return void

Hidden() public static method

public static Hidden ( this This, string key, object value = null, object htmlAttributes = null ) : HtmlString
This this
key string
value object
htmlAttributes object
return HtmlString

Input() public static method

public static Input ( this This, string type, string key, object value = null, object htmlAttributes = null ) : HtmlString
This this
type string
key string
value object
htmlAttributes object
return HtmlString

Label() public static method

public static Label ( this This, string text, string key = null ) : HtmlString
This this
text string
key string
return HtmlString

Password() public static method

public static Password ( this This, string key, object value = null, object htmlAttributes = null ) : HtmlString
This this
key string
value object
htmlAttributes object
return HtmlString

RadioButton() public static method

public static RadioButton ( this This, string key, object button_value, object form_value = null, object htmlAttributes = null ) : HtmlString
This this
key string
button_value object
form_value object
htmlAttributes object
return HtmlString

RegisterFormField() public static method

public static RegisterFormField ( this This, string key ) : void
This this
key string
return void

ResolveFormValue() public static method

public static ResolveFormValue ( this This, string key, object value ) : object
This this
key string
value object
return object

TextArea() public static method

public static TextArea ( this This, string key, object value = null, object htmlAttributes = null ) : HtmlString
This this
key string
value object
htmlAttributes object
return HtmlString

TextBox() public static method

public static TextBox ( this This, string key, object value = null, object htmlAttributes = null ) : HtmlString
This this
key string
value object
htmlAttributes object
return HtmlString

ValidationSummary() public static method

public static ValidationSummary ( this This ) : string
This this
return string