FormContext.RenderedField Method (String, Boolean)

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

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

public void RenderedField(
	string fieldName,
	bool value
)

Parameters

fieldName
Type: System.String
The field name.
value
Type: System.Boolean
true to specify that the field has been rendered in the form; otherwise, false.
Show: