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)

static function get IdAttributeDotReplacement () : String
static function set IdAttributeDotReplacement (value : String)

Property Value

Type: System.String
The character that replaces periods in the ID attribute of an element.

The default replacement character is an underscore (_).

Show: