[Mono-devel-list] ASP.NET Page Life Cycle || Bug ?
Gonzalo Paniagua Javier
gonzalo at ximian.com
Fri Aug 20 15:17:53 EDT 2004
On Fri, 2004-08-20 at 10:39, Matthew Metnetsky wrote:
> I have been trying to figure out the page life cycle and am stumped by
> what seems like a bug in .NET (not just Mono).
> The end of this email has the basic life cycle as printed out via
> Response.Write methods within a page, and a control. I cannot seem to
> figure out why on a Control level Postback the CreateChildControls()
> method is called 3rd (which defines the HTML we'll see), while on any
> other Postback its after the Page.PreRender(). This would keep any
> Control Events from managing the data that needs to be printed
> How has anyone else dealt with this? This sure seems like a bug to me,
> any opinions? Its very possible I'm just missing something, but this
> seems counter-intuitive from every article on Page Life Cycle that I've
> read. I have tested this on Windows/.NET and Linux/Mono and I get the
> same results. My silly little test case is attached.
If running your sample under MS runtime produces the results you expect
and mono does not do the same, it's a bug. Please, report it using
More information about the Mono-devel-list