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

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

Generates an input text element with a javascript that prevents chars other than numbers from being entered. The value is not gathered from the context, instead you specify it on the second argument
You must include the formhelper javascript functions to use the NumberField. See InstallScripts
public NumberFieldValue ( string target, object value ) : string
target string The object to get the value from and to be based on to create the element name.
value object The current value to output.
Результат string
		public string NumberFieldValue(string target, object value)
		{
			return NumberFieldValue(target, value, null);
		}

Same methods

FormHelper::NumberFieldValue ( string target, object value, IDictionary attributes ) : string