Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Add an attribute to the tag <body>?

Reply
Thread Tools

Add an attribute to the tag <body>?

 
 
Mark Rae
Guest
Posts: n/a
 
      10-31-2006
"Gustavo Arriola" <(E-Mail Removed)> wrote in message
news:%23fHcJdS$(E-Mail Removed)...

> In ASP.NET 2.0:
> How I add an attribute to the tag <body> in Codebehind?


Same as with any other HTML tag...

<body id="MyBodyTag" runat="server>

MyBodyTag.Attributes.Add(......, ......);


 
Reply With Quote
 
 
 
 
Gustavo Arriola
Guest
Posts: n/a
 
      10-31-2006
Hello!

In ASP.NET 2.0:
How I add an attribute to the tag <body> in Codebehind?

From already thank you very much!
Gustavo Arriola


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
In the code behind: how to add a background attribute to the body tag. _Who ASP .Net 4 09-23-2008 08:41 PM
picking value of one attribute based on a child elements attribute? XPath? vjethava@gmail.com XML 2 03-06-2006 05:19 AM
how do u invoke Tag b's Tag Handler from within Tag a's tag Handler? shruds Java 1 01-27-2006 03:00 AM
XSLT: Making attribute to parent attribute Bostonasian XML 1 09-18-2005 07:30 AM
Add readonly attribute dynamically to input tag upersson@consit.dk Javascript 2 06-30-2005 02:38 PM



Advertisments