how make codefile default

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Cirene

    #1

    how make codefile default

    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

    #2
    Re: how make codefile default

    This happens when i create an aspx page form a master page using EXPRESSION
    WEB. :(

    "Cirene" <cirene@nowhere .comwrote in message
    news:ewrdYhUsIH A.3632@TK2MSFTN GP04.phx.gbl...
    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.
    >

    Comment

    • Juan T. Llibre

      #3
      Re: how make codefile default

      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" <cirene@nowhere .comwrote in message news:%23aiqsHWs IHA.548@TK2MSFT NGP06.phx.gbl.. .
      This happens when i create an aspx page form a master page using EXPRESSION WEB. :(
      >
      "Cirene" <cirene@nowhere .comwrote in message news:ewrdYhUsIH A.3632@TK2MSFTN GP04.phx.gbl...
      >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.
      >>
      >
      >

      Comment

      • Cirene

        #4
        Re: how make codefile default

        Thanks Juan!
        "Juan T. Llibre" <nomailreplies@ nowhere.comwrot e in message
        news:Og$q12ZsIH A.3604@TK2MSFTN GP03.phx.gbl...
        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" <cirene@nowhere .comwrote in message
        news:%23aiqsHWs IHA.548@TK2MSFT NGP06.phx.gbl.. .
        >This happens when i create an aspx page form a master page using
        >EXPRESSION WEB. :(
        >>
        >"Cirene" <cirene@nowhere .comwrote in message
        >news:ewrdYhUsI HA.3632@TK2MSFT NGP04.phx.gbl.. .
        >>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.
        >>>
        >>
        >>
        >
        >

        Comment

        Working...