Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

user control header on site with aspx and html

Status
Not open for further replies.

gagz

Programmer
Nov 21, 2002
333
US
Hi-

This is just a general question to see how you guys handle this. I am working on a site that has a good number of pages that need to be apsx, but there are also a lot that are static and could server fine just being html files... however, my header is relatively dynamic and in a user control... That leads me to believe that I have to have all my pages, static or not, be .aspx so I can incorporate it and not have two copies of my header. Has anyone else ran across a set up like this, and if so, how did you work it?

Thanks in advance...

Marc
 
Definitely would have to be .aspx pages to implement the user control header.

You can implement partial page caching if you're worried about performance, but if there isn't alot going on in the way of database access/number crunching/etc... on the pages, you'll notice absolutely no difference between an .htm page and an .aspx page.

-paul
penny1.gif
penny1.gif

The answer to getting answered -- faq855-2992
 
Thanks... I was figuring that would be the case... '.aspx' just scares a lot of the content type people :)
 
Then put it in a frameset with the bottom frame at 0px height...

Name the frameset 'mypage.htm'

voila. ;-)
penny1.gif
penny1.gif

The answer to getting answered -- faq855-2992
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top