Friday, February 15, 2008 3:39 PM
I was working in the MVC framework when I came accross an issue within my views. Although I was dropping controls onto the form, none of them were accessible from the code behind file. I also noticed that there weren't any designer files anywhere, which I thought was odd.
After some poking around it turns out that you need to convert your MVC projects to be web applications before you get the full ASP.NET feature set.
Just right click your project file and select 'Convert to Web Application' from the menu. Voila: you'll notice that your design files are back and you have access to your controls again.
D