Share via


TemplateInfo.GetFullHtmlFieldId Method

Retrieves the full DOM ID of a field using the specified HTML name attribute.

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

Syntax

'Declaration
Public Function GetFullHtmlFieldId ( _
    partialFieldName As String _
) As String
public string GetFullHtmlFieldId(
    string partialFieldName
)
public:
String^ GetFullHtmlFieldId(
    String^ partialFieldName
)

Parameters

  • partialFieldName
    Type: System.String
    The value of the HTML name attribute.

Return Value

Type: System.String
The full DOM ID.

See Also

Reference

TemplateInfo Class

System.Web.Mvc Namespace