Re: User Control PageLoad even not firing
- From: Michael Nemtsev [MVP] <nemtsev@xxxxxxx>
- Date: Thu, 31 Jan 2008 11:20:08 +0000 (UTC)
Hello Phil,
any code samples demonstrating the problem?
---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo
PJ> Hello,
PJ> PJ> I have a page that contains a user control that is nested within
PJ> other user controls... the nesting is quite deep, not sure exactly
PJ> how ddep but there is a control inside a control inside a ... etc.
PJ> PJ> One of the user controls has a button click that tries to get a
PJ> reference to the problematic user control nested inside of it but it
PJ> throws an exception saying the user control does not exist, but this
PJ> problem only happens on a postback, on first load everything is
PJ> fine.
PJ> PJ> When I put a breakpoint in the pageload event handlers of all the
PJ> user controls and the page, on first load they all fire, but on a
PJ> postback the pageload of the problematic user control does not fire.
PJ> PJ> Anybody got any ideas?
PJ> PJ> Thanks in advance,
PJ> PJ> Phillip Johnson (MCSD For .NET)
PJ> PJ Software Development
PJ> www.pjsoftwaredevelopment.com
.
- Follow-Ups:
- Re: User Control PageLoad even not firing
- From: Phil Johnson
- Re: User Control PageLoad even not firing
- Prev by Date: Re: Any quick solution to display performance diagnostics on every pag
- Next by Date: Oracle connectivity Issue with .Net
- Previous by thread: Re: Any quick solution to display performance diagnostics on every pag
- Next by thread: Re: User Control PageLoad even not firing
- Index(es):