Understanding the WebPage control

  • Thread starter Daniel vom Saal
  • Start date
D

Daniel vom Saal

I have inherited a class from the WebPage object, and would like to always
add a control that renders its output immediately prior to the </BODY> tag.
What is the best way to accomplish this? If I add the control to the
..Controls() collection it gets generated after the </HTML> tag, which is not
a properly formatted page (though IE displays it successfully). Is there a
good place to research exactly what the WebPage control is doing? For
example, its Control collection seems to be a series of LiteralControls with
a Form control tucked in as well as some of the custom elements on the page.
I'd like to gain an in-depth understanding of what the logic is behind this
object, but I've been unable to find such a document.

Thanks,

DvS
 

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
474,139
Messages
2,570,805
Members
47,352
Latest member
DianeKulik

Latest Threads

Top