Body

  • Thread starter Victor Rodriguez
  • Start date
V

Victor Rodriguez

Is there a way to add from the server side of a page an
onunload="something()" to the Body tag of a page?

thanks,

Victor
 
B

Bruce Barker

put at runat=server and an id to to the body, then add the onunload
attribute in the code behind.

-- bruce (sqlwork.com)
 
K

Kevin Spencer

Make the body tag runat=server, and tie it to an HtmlGeneric Control on the
back-end.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top