HtmlHelper.IdAttributeDotReplacement Property

Definition

Gets or sets the character that is used to replace the dot (.) in the id attribute of rendered form controls.

public static string IdAttributeDotReplacement { get; set; }
member this.IdAttributeDotReplacement : string with get, set
Public Shared Property IdAttributeDotReplacement As String

Property Value

The character that is used to replace the dot in the id attribute of rendered form controls. The default is an underscore (_).

Applies to