Last post Dec 15, 2007 06:55 AM by faisalciit
Dec 14, 2007 12:17 PM|faisalciit|LINK
I am implementing the ASP.NET MVC pattern along server side controls. I am not able to access the server side controls in my webpage CS Class.
Please guide me I think i am missing some thing.
Dec 14, 2007 02:16 PM|SteveSanderson|LINK
Hi there, can you post a sample of the code you're trying along with an explanation of what doesn't work?
Dec 14, 2007 02:33 PM|hhariri|LINK
Dec 14, 2007 06:23 PM|robconery|LINK
When you add a viewpage to the current project template, the [PageName].Designer.cs file is not being generated - you need this file in order to use ServerControls. To have this file generated, right-click on your project and select "Convert To Web Application"
and the needed files will be generated.
Dec 15, 2007 06:55 AM|faisalciit|LINK
"Convert To Web Application" works fine for me.