aspx and shared borders/include pages

  • Thread starter Dennis Blondell
  • Start date
D

Dennis Blondell

Hi, I have FP2k on XP pro (IIS .NET) and am creating my first aspx site. I
have a slide menu on the pages but can not include it on the pages by either
include code
<!--#include file="menu.htm" --> (I think that was the one I tried) or FP
shared borders. The shared borders works on the htm pages but not the aspx.
It is a real pain using a copy of the menu for each page and trying to
update every single page instead of only the template. I am not very keen on
using frames as this will affect the
performance of the site on search engines.

Thanks, Hope someone can help.
 
K

Kevin Spencer

Hi Dennis,

Shared Borders and other run-time FrontPage components are not going to work
in ASPX pages. ASPX pages are processed by a different ISAPI than FrontPage
components. As for your include, well that's just not the way you should be
doing ASP.Net. ASP.Net is object-oriented. While server-side includes are
supported by ASP.Net, they are supported mostly for backwards-compatibility
with ASP. You should create User Controls that you can use in your pages for
shared content.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 
D

Dennis Blondell

Great, thanks for that. I am not doing the aspx coding myself so will
forward this to my colleague. From what I have seen from .Net so far I am
very impressed and looking forward to FP2003 and its .Net support. I just
find it hard to get around in Dreamweaver which seems to have more to offer
development in .Net and ASP.

..
 
K

Kevin Spencer

FrontPage 2003 will really impress you with its support for ASP.Net. Not to
mention all of the other bells and whistles that it comes with for
developers!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top