Creating aspx.cs file manually

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I design all of my pages in expression web. I then want to create a code
behind file for the aspx page created by EW in VS 2005. How could I do this
easily?
 
Hi, Dave.

Try asking questions about Expression in the expression newsgroups :

microsoft.public.expression.webdesigner
microsoft.public.expression.discussion

....on this same news server.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
This is not an EW question. I have created my pages in EW, but I want to
create l code behind for these pages using VS 2005 using C#. How can I create
a code behind file manually in VS 2005
 
re:
!> How can I create a code behind file manually in VS 2005

There are no tools to convert inline code to code-behind.

Backup your file to another directory; delete the original file;
create a new file with the same name as your original file and make sure
you select the "Place code in separate file" option in the VS 2005 IDE.

Then, re-create your objects in the web form file.
The VS 2005 IDE will create the necessary code-behind.

When you're done, add your custom code to the code-behind file.
Sorry, I wish I had better news for you.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
Back
Top