HtmlHelper.GenerateIdFromName Method (String)
Creates an HTML element ID using the specified element name.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- name
- Type: System.String
The name of the HTML element.
| Exception | Condition |
|---|---|
| ArgumentNullException | The name parameter is a null reference (Nothing in Visual Basic). |
Show: