HtmlHelper.IdAttributeDotReplacement Property

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

Namespace:  System.Web.WebPages.Html
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Shared Property IdAttributeDotReplacement As String 
    Get 
    Set
'Usage
Dim value As String 

value = HtmlHelper.IdAttributeDotReplacement 

HtmlHelper.IdAttributeDotReplacement = value
public static string IdAttributeDotReplacement { get; set; }
public:
static property String^ IdAttributeDotReplacement {
    String^ get ();
    void set (String^ value);
}
static member IdAttributeDotReplacement : string with get, set
static function get IdAttributeDotReplacement () : String 
static function set IdAttributeDotReplacement (value : String)

Property Value

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

See Also

Reference

HtmlHelper Class

System.Web.WebPages.Html Namespace