Including an external file
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 47
- Joined: Wed May 07, 2008 1:44 pm
- Location: Houston, TX
- Contact:
Including an external file
I am trying to include an external file to add content to an about us page. I am used to the typical include script from PHP, but not ASPX and found that the normal <!-- #include script for ASP is causing an error. Can someone tell me how to include an external file withing the AbleCommerce ASPX confines?
Re: Icluding an external file
The classic ASP scripts will not work in ASP.NET. Why don't you just try to open external webpage in some popup control on desired page? Have a look at this thread viewtopic.php?f=44&t=13026
Re: Icluding an external file
Hello Mazhar,
I also need to include local aspx files on most of the pages and am using version 7.0.6, can you please tell me if it is possible and how?
Thanks.
I also need to include local aspx files on most of the pages and am using version 7.0.6, can you please tell me if it is possible and how?
Thanks.
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Icluding an external file
See if this post helps:
http://weblogs.asp.net/bleroy/archive/2 ... p-net.aspx
http://weblogs.asp.net/bleroy/archive/2 ... p-net.aspx
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Icluding an external file
Sorry, that article wasn't much help. We are trying to do our navigation bar in an include file so we don't have to stick all of our code in the header. If someone could please explain in layman's terms how to do this, we would appreciate it very much!
Re: Icluding an external file
Hello!
Waiting for assistance.
Waiting for assistance.
Re: Icluding an external file
Not sure how you are trying to do this. In ASP.NET world you don't use include files as you used to do in classic ASP. You can use an ASP.NET control. An ASP.NET control is fully contained in a separate file. It can be referred on any page you want. This will serve you the same way as if you included a file.cierra wrote:Sorry, that article wasn't much help. We are trying to do our navigation bar in an include file so we don't have to stick all of our code in the header. If someone could please explain in layman's terms how to do this, we would appreciate it very much!