FormContext Class

 

Encapsulates information that is required in order to validate and process the input data from an HTML form.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

System.Object
  System.Web.Mvc.FormContext

public class FormContext

NameDescription
System_CAPS_pubmethodFormContext()

Initializes a new instance of the FormContext class.

NameDescription
System_CAPS_pubpropertyFieldValidators

Gets the field validators for the form.

System_CAPS_pubpropertyFormId

Gets or sets the form identifier.

System_CAPS_pubpropertyReplaceValidationSummary

Determines whether client validation errors should be dynamically added to the validation summary.

System_CAPS_pubpropertyValidationSummaryId

Gets or sets the identifier for the validation summary.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetJsonValidationMetadata()

Returns a serialized object that contains the form identifier and field-validation values for the form.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValidationMetadataForField(String)

Returns the validation value for the specified input field.

System_CAPS_pubmethodGetValidationMetadataForField(String, Boolean)

Returns the validation value for the specified input field and a value that indicates what to do if the validation value is not found.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRenderedField(String)

Returns a value that indicates whether the specified field has been rendered in the form.

System_CAPS_pubmethodRenderedField(String, Boolean)

Sets a value that indicates whether the specified field has been rendered in the form.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: