how to include file .asp in file .aspx

Discussion in 'ASP General' started by armando, Apr 18, 2007.

  1. armando

    armando Guest

    Hi, I'm working on a web site devolepped in asp and this site work
    with the incusion in the page asp

    <td id="Colonna lato sinistro" width="200px" valign="top"
    style="height: 19px">
    <!--#include file="Include/colonna_sx_ecomm.asp"!-->
    </td>

    in the colonna_sx_ecomm.asp there is:

    <table id="Tabella colonna sinistra" align="center" width="200px"
    cellpadding="0" cellspacing="0" border="0">
    <tr><td width="200px" align="center">&nbsp;</td></tr>
    <tr><td width="200px" align="center"><!--#include
    file="menu_ecomm.asp" !--></td></tr>
    <tr><td width="200px" align="center">&nbsp;</td></tr>
    <tr><td width="200px" align="center"><!--#include
    file="form_selezione_articoli.asp" !--></td></tr>
    <tr><td width="200px" align="center">&nbsp;</td></tr>
    <tr><td width="200px" align="center"><!--#include
    file="inc_carrello.asp" !--></td></tr>
    </table>

    and in the, for exemple, in the menu_ecomm.asp there is the code to
    load the menu.....

    I would like to to the inclusion

    <td id="Colonna lato sinistro" width="200px" valign="top"
    style="height: 19px">
    <!--#include file="Include/colonna_sx_ecomm.asp"!-->
    </td>

    in a page .aspx

    how can i do this?????
     
    armando, Apr 18, 2007
    #1
    1. Advertising

  2. armando

    Ray Costanzo Guest

    Convert the old include file into a .net control (.ascx). You can't just
    grab an old ASP file and include it in a .net app.

    Ray at work

    "armando" <> wrote in message
    news:...
    > Hi, I'm working on a web site devolepped in asp and this site work
    > with the incusion in the page asp
    >
    > <td id="Colonna lato sinistro" width="200px" valign="top"
    > style="height: 19px">
    > <!--#include file="Include/colonna_sx_ecomm.asp"!-->
    > </td>
    >


    > I would like to to the inclusion
    >
    > <td id="Colonna lato sinistro" width="200px" valign="top"
    > style="height: 19px">
    > <!--#include file="Include/colonna_sx_ecomm.asp"!-->
    > </td>
    >
    > in a page .aspx
     
    Ray Costanzo, Apr 18, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mr. x
    Replies:
    1
    Views:
    1,989
    John Timney \(Microsoft MVP\)
    Nov 30, 2003
  2. naveeddil
    Replies:
    0
    Views:
    592
    naveeddil
    Jan 4, 2008
  3. Andreas Bogenberger
    Replies:
    3
    Views:
    967
    Andreas Bogenberger
    Feb 22, 2008
  4. Eric
    Replies:
    10
    Views:
    484
  5. Eric
    Replies:
    0
    Views:
    269
Loading...

Share This Page