Share via


HtmlHelper.SetValidationMessageElement Method (String)

 

Set element name used to wrap the validation message generated by ValidationMessage and other overloads.

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

Syntax

public void SetValidationMessageElement(
    string elementName
)
public:
void SetValidationMessageElement(
    String^ elementName
)
member SetValidationMessageElement : 
        elementName:string -> unit
Public Sub SetValidationMessageElement (
    elementName As String
)

See Also

HtmlHelper Class
System.Web.Mvc Namespace

Return to top