Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8489469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:50:19+00:00 2026-06-10T21:50:19+00:00

Is there any way to use ASP or ASP.NET to use an include of

  • 0

Is there any way to use ASP or ASP.NET to use an include of a HTML in another HTML file? Similar to the way that you can use an include with PHP with HTML and the AddType handler in .htacess?

I am trying to find a better way to update some navigation but the site sits on a windows server that doesn’t have PHP installed on it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T21:50:21+00:00Added an answer on June 10, 2026 at 9:50 pm

    There are a number of options available for you to use the first one I would mention is Master Pages if you going to use asp.net.

    ASP.NET MVC uses layouts with the Razor view engine so you can control the page a bit more, I really like the MVC way of doing things as it keeps things simple in terms of your functionality and presentation.

    Another option is the server side include (this is old fashioned and not really good):

    <!-- #INCLUDE FILE="includeMe.html" -->
    

    If you wanted to keep it as an html page you could ‘hack’ around in IIS to make html pages work with SSI but it is not a very good way of doing things.

    Another way of providing information is by using jQuery to include snippets of html for your page to use, something like this, (sorry I haven’t tested):

    $("#destination-container").load("sourcepage.htm #content-in-this-page");
    

    Again this is probably not the best way of doing things but you can use it for quick results.

    My advice is to create a main page, whether it be a master page or a variation of one if you decide to go the MVC route then use PartialViews or something similar.

    And of course look at the link Alex K provided: ASP.NET equivalent of server side includes

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to use server controls in ASP.NET MVC? Specifically I need
Using ASP.Net MVC 2, is there any way to use the RedirectToAction() method of
Is there any way to Use the Builtin ScrollBars that comes with each .Net
is there any way to use windows authentication in ASP.NET without needing a windows
Is there any way to use ASP.NET Dynamic Data WebApp or Scaffold using a
is there any way to use multiple response filters in ASP.NET? HttpContext.Current.Response.Filter = MyFilter1
Is there any way to use global int constants in Objective C that work
Is there any way that I can get visual studio (2010 or other) to
Is there any way to use Google's API to retrieve a user's current zipcode
Is there any way to use Zend_Filter_Encrypt with large files, without rising memory limit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.