Last post Dec 15, 2007 05:55 AM by faisalciit
Dec 14, 2007 11:17 AM|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 01: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 01:33 PM|hhariri|LINK
Dec 14, 2007 05: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 05:55 AM|faisalciit|LINK
"Convert To Web Application" works fine for me.