Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

Common header across all my aspx files

  Asked By: Qadriyah    Date: Jul 15    Category: Asp.net    Views: 1230
  

I need some help with creating a common header (containing some images and
labels) across all the files in my web application (similar to 'frame sets' with
http coding). I need to change the message in this header based on the page
being loaded. Can anyone suggest someway or pass on some sample code please?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Randall Franklin     Answered On: Jul 15

see:
www.learnasp.com/freebook/learn/usercontrols.aspx

In the page_load sub of the .ascx file you can use:

request.FilePath
to get filename and path
or
request.RawURL
to get the filename and path and querystring

 
Didn't find what you were looking for? Find more on Common header across all my aspx files Or get search suggestion and latest updates.




Tagged: