Tuesday, 14 May 2013

Control Naming Conventions for ASP.NET


Control Naming Conventions for ASP.NET


These control naming conventions may help provide some organization. Visual Studio sets Name properties to defaults for controls, like Label2. Using these conventions it would be something like lblName.

ASP.NET Control Naming Conventions

ASP.NET Control Naming Conventions are prefixed to the name, such as, lblName or rptEmployee.

Control Naming Conventions List

If I’ve left a naming convention out please feel free to comment. I will update the Naming Convention List later. Additionally, comment if you use something different.

No comments:

Post a Comment