What are the naming guidelines for ASP.NET controls?
问题 We are in the process of nutting out the design guidelines we would like to use in our development team and got into a discussion today around how ASP.NET controls should be named. I am talking about our good friends Label, TextBox, Button etc. We came up with the following three possibilities that we voted on: (Example is a TextBox to enter/display a FirstName) Add the control type as a postfix to your controls ID: [FirstName _ TextBox] or [FirstName _ tbx] Add the control type as a prefix