Export (0) Print
Expand All

FormContext.RenderedField Method (String)

Returns 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 bool RenderedField(
	string fieldName
)

Parameters

fieldName
Type: System.String

The field name.

Return Value

Type: System.Boolean
true if the field has been rendered; otherwise, false.
Show:
© 2015 Microsoft