I have a masterpage that has a body tag. The body tag includes an ID which I would like to set dynamically via the code behind for each page. I have not figured out how this is done and if it is possible. Does anyone have any suggestions?
Maserpage CODE:
<body id='<%=activename%>'>
CODE Behind:
Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
Dim activenaver As String = "about"
activename = activenaver
End Sub
THANKS!