HtmlHelper.IdAttributeDotReplacement Property
Gets or sets the character that replaces periods in the ID attribute of an element.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
public static string IdAttributeDotReplacement { get; set; }
public:
property String^ IdAttributeDotReplacement {
static String^ get();
static void set(String^ value);
}
static member IdAttributeDotReplacement : string with get, set
Public Shared Property IdAttributeDotReplacement As String
Property Value
Type: System.String
The character that replaces periods in the ID attribute of an element.
Remarks
The default replacement character is an underscore (_).
See Also
HtmlHelper Class
System.Web.Mvc Namespace
Return to top