TagBuilder.CreateSanitizedId Method

Include Protected Members
Include Inherited Members

Replaces each invalid character in the tag ID with a valid HTML character.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member CreateSanitizedId(String) Replaces each invalid character in the tag ID with a valid HTML character.
Public methodStatic member CreateSanitizedId(String, String) Replaces each invalid character in the tag ID with the specified replacement string.

Top

See Also

Reference

TagBuilder Class

System.Web.Mvc Namespace