communication between control and container

T

Tariq Ahmad

hi,

i have a user control that sits on a webform page.

how can the usercontrol get access to the attibutes of the
<BODY> tag of the page that it is sitting in and modify the
attributes? The <BODY> tag looks like this:

<body id=bdBody runat="server">

Protected WithEvents bdBody As
System.Web.UI.HtmlControls.HtmlContainerControl

effectively i want to know how i can access the bdBody variable from
within the usercontrol.

thnx.

t.
 

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

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,165
Latest member
JavierBrak
Top