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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server Side Tags

Status
Not open for further replies.

marcusw

Programmer
Jan 18, 2001
35
GB
I have an application that requires the Body class to be set after an operator logs in. The application interrogates the database and evaluates what company the operator works for. Thereafter, I set the "Body class=" a given Cascading Style Sheet class. My problem is that I'm currently doing this in the aspx page as follows:-

<Body class=&quot;<%Response.Write(&quot;ClassName&quot;)%>.....</Body>

As I'm now using ASP.NET, I'd prefer to do this programatically in the code behind '.vb'. Hmmm, but the body itself isn't a server-side control??

Any advice/help greatly appreciated!

Marcus
 
penny1.gif
penny1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top