I have a designer working on several pages in Dreamweaver. The designer is creating .aspx files with the Page directive at the top. These are getting shipped to me and I'm adding them to the Visual Studio ASP.NET WebForms Web Application Project. The problem is that there's no code-behind file by default, and I'm trying to find a shortcut to have them autogenerated as if I've added a fresh page from Visual Studio.
Is anybody aware of a shortcut?
Thanks!
Add the aspx to your project, then right click on it and select "Convert to Web Application"
Long term, answer to working with designers is to upgrade to MVC. A little easier to work with.
For the task at hand, this workflow has worked out pretty good in the past:
1) Create new web form (aspx) with appropriate name.
2) copy/paste in designer's code (sans @Page directive)
3) pray and such
Or, add the page from visual studio. Then pave over it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With