Including reused HTML in ASP.NET


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Including reused HTML in ASP.NET

  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
    >
    >




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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center