I am working on an asp.net WebSite project, rather than a Web Application project, and copying code from a Web Application project. The code I am copying is part of a system which has been used for many clients, and this process has been done before e.g. copy and past :P However this one is different because of the Website project.
I have noticed a bug, in that the CheckBoxList, on this particular Website project, is not rendering the value attibute. Now this is causing me an unwanted headache!
I need to investigate this more to find out WHY!
If anyone has any clues, leave a comment please!
After further investigation, it turns out that when creating a new Web Site in .Net 2.0, 3.0 and 3.5, then the value attribute of a checkbox is never created. A .Net 4.0 Web Site will create the value attribute as expected.