-
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
-
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
Forum Rules
|
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
|
Bookmarks