protected CreateInputElement ( string type, string value, IDictionary attributes ) : string | ||
type | string | The type. |
value | string | The value. |
attributes | IDictionary | The attributes. |
return | string |
protected virtual string CreateInputElement(string type, string value, IDictionary attributes)
{
return String.Format("<input type=\"{0}\" value=\"{1}\" {2}/>",
type, FormatIfNecessary(value, attributes), GetAttributes(attributes));
}
FormHelper::CreateInputElement ( string type, string target, Object value, IDictionary attributes ) : string | |
FormHelper::CreateInputElement ( string type, string id, string target, string value, IDictionary attributes ) : string |