ASP.NET: Add ClientID.None
Add one more option for ClientIDMode enumeration in ASP.NET.
It's often the case we use ID of a control only in order to reference it from Code-Behind and we don't need the id attribute to be rendered on client-side. It only creates unnecessary garbage data to be transferred to client. ClientIDMode.Static can decrees the amount of data being transferred, but it's still > 0 and one must be extremly careful not to generate duplicate IDs.
ClientIDMode.None would prevent ID from being rendered to resulting HTML markup. The CliendID property would return null (or empty string). Supporting controls will not render the ID attribute in this case at all.
The following feedback item along with votes was transferred from the Visual Studio User Voice site. If you would like to view the original comment history, click here http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2249482-asp-net-add-clientid-none