I am not a .Net guy but trying to get update an existing .net site. Trying to set up a unique id for the body tag even though I am using a master page.
<body id="<% page_name %>">
Obviously the above example doesn't work but not quite sure if there is a function that returns the file name that can be easily added to the masterpage so it give each page's body tag a unique "id" based on the page name.
I would perfer not having to set some variable up on each code behind page but just once on the master page.
Could be going about this the completely wrong way. Using PHP I have done this a number of times.
Basically I am trying to get a unique body id for each of the pages of the site. This will allow me to use CSS to style page specific layout items.