FormContext.RenderedField Method

 

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

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

NameDescription
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.

Return to top

FormContext.RenderedField Method (String)

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

Public Function RenderedField (
	fieldName As String
) As Boolean

Parameters

fieldName
Type: System.String

The field name.

Return Value

Type: System.Boolean

true if the field has been rendered; otherwise, false.

Return to top

FormContext.RenderedField Method (String, Boolean)

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

Public Sub RenderedField (
	fieldName As String,
	value As Boolean
)

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.

Return to top
Show: