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="<%Response.Write("ClassName"%>.....</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
<Body class="<%Response.Write("ClassName"%>.....</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