TagBuilder.IdAttributeDotReplacement Property

Visual Studio 2010

Gets or sets the character that is used to replace the periods (dots) in the id attribute.

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

public string IdAttributeDotReplacement { get; set; }

Property Value

Type: System.String
The character that is used to replace periods (dots) in the id attribute.

The default replacement character is an underscore (_).

Community Additions

ADD
Show: