Home All Groups Group Topic Archive Search About

how to include file .asp in file .aspx

Author
18 Apr 2007 10:18 AM
armando
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?????

Author
18 Apr 2007 12:22 PM
Ray Costanzo
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

Show quoteHide quote
"armando" <armando.cazze***@libero.it> wrote in message
news:1176891498.799872.318570@y5g2000hsa.googlegroups.com...
> 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

Bookmark and Share