Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how make codefile default

1 view
Skip to first unread message

Cirene

unread,
May 8, 2008, 4:16:04 PM5/8/08
to
Usually I like to have my vb code in a seperate file, rather than inline
with the HTML. I know that the codefile directive is what links the 2
together.

For some reason, all of a sudden my new pages are lacking the CodeFile even
though I check "Place code in separate file". Is it because they are linked
with a master page? How can I do this after the fact?

Thanks.


Cirene

unread,
May 8, 2008, 7:19:10 PM5/8/08
to
This happens when i create an aspx page form a master page using EXPRESSION
WEB. :(

"Cirene" <cir...@nowhere.com> wrote in message
news:ewrdYhUs...@TK2MSFTNGP04.phx.gbl...

Juan T. Llibre

unread,
May 9, 2008, 2:27:07 AM5/9/08
to
re:
!> This happens when i create an aspx page form a master page using EXPRESSION WEB

No wonder you're having problems.

Expression Web doesn't handle code in separate files.
In fact, it doesn't handle code-behind at all.

If you can't afford the full Visual Studio (2005 or 2008)
download the free Visual Web Developer from :

Visual Web Developer 2005 :
http://msdn.microsoft.com/en-us/express/aa975050.aspx

Visual Web Developer 2008 :
http://www.microsoft.com/express/download/

VWD handles code-behind in separate files.

re:
!> even though I check "Place code in separate file"

Are you sure you did that in Expression Web ?
Expression Web doesn't have that option.

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/
======================================
"Cirene" <cir...@nowhere.com> wrote in message news:%23aiqsHW...@TK2MSFTNGP06.phx.gbl...

Cirene

unread,
May 9, 2008, 10:07:27 PM5/9/08
to
Thanks Juan!
"Juan T. Llibre" <nomail...@nowhere.com> wrote in message
news:Og$q12ZsI...@TK2MSFTNGP03.phx.gbl...
0 new messages