Castle.MonoRail.Framework.Helpers.FormHelper.NumberField C# (CSharp) Метод

NumberField() публичный Метод

Generates an input text element with a javascript that prevents chars other than numbers from being entered.

The value is extracted from the target (if available)

You must include the formhelper javascript functions to use the NumberField. See InstallScripts
public NumberField ( string target ) : string
target string The object to get the value from and to be based on to create the element name.
Результат string
		public string NumberField(string target)
		{
			return NumberField(target, null);
		}

Same methods

FormHelper::NumberField ( string target, IDictionary attributes ) : string