HttpModule and User Controls

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,

i wish i could load up a UserControl from an HttpModule and render it to the
client without needing to go to an aspx page. don't know if this is
possible, i tried instantiating a user control and calling its RenderControl
method passing the Response.OutputStream as a parameter, but it doesn't do
anything.

i do not want to have fancy functionality like postbacks or anything once
the control is rendered. i just need this to display a list of error
messages contained in a dataset easily to the screen.

i know i probably should be using xslt to do this, since its just a display
issue, but using a user control with a datagrid control seemd such an easy
way of doing it...

i'm using ASP.NET 1.1 by the way..


.


Quantcast