HttpModule and User Controls
- From: "Joey" <joey@xxxxxxxx>
- Date: Fri, 27 Jun 2008 09:12:51 +0200
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..
.
- Follow-Ups:
- Re: HttpModule and User Controls
- From: Joe Fawcett
- Re: HttpModule and User Controls
- Prev by Date: Re: ASP.NET Internationalization bug?
- Next by Date: Re: How to set text in RadioButtonList from code behind?
- Previous by thread: Re: multiple pages using the same code behind page
- Next by thread: Re: HttpModule and User Controls
- Index(es):