MvcValidatorToolkit/Validators/ValidateScriptMethod.cs
/// <summary>
/// Gets the rule for the given element used by the jQuery validation plugin.
/// </summary>
Gets the rule for the given element used by the jQuery validation plugin.
Gets the rule for the given element used by the jQuery validation plugin .
public override string GetClientRule(string element)
		{
			string parameters = string.IsNullOrEmpty(Parameters) ? "true" : Parameters;
			return string.Format("scriptMethod{0}:{1}", TypeCount, parameters);
		}
public override string GetClientRule ( string element ) { string parameters = string . IsNullOrEmpty ( Parameters ) ? " " : Parameters ; return string . Format ( " " , TypeCount , parameters ) ; }
Gets the rule for the given element used by the jQuery validation plugin.
Gets the rule for the given element used by the jQuery validation plugin .
element
string