DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Micah Nasarow Guest

    Including reused HTML in ASP.NET

    Greetings,

    I have not come across any info on implementing the old <!-- #include
    file="myFile.inc" --> in ASP.NET.

    What is the proper way to reuse HTML code in a Web Form? For example I want
    the same <head> data across all my pages. I used to be able to use the
    #include, but how do we do it now in ASP.NET?

    Thanx

    Micah



  2. #2
    Russell Jones Guest

    Re: Including reused HTML in ASP.NET

    You can still use #INCLUDE tags, but take a look look at User Controls in
    ..NET.

    "Micah Nasarow" <BigKhahuna@shakaware.com> wrote in message
    news:3bf2d48e$1@147.208.176.211...
    > Greetings,
    >
    > I have not come across any info on implementing the old <!-- #include
    > file="myFile.inc" --> in ASP.NET.
    >
    > What is the proper way to reuse HTML code in a Web Form? For example I

    want
    > the same <head> data across all my pages. I used to be able to use the
    > #include, but how do we do it now in ASP.NET?
    >
    > Thanx
    >
    > Micah
    >
    >




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links