Okay, here's an interesting question.
If I put the code that fetches a reference to my user control in the Page.PreRender event handler, it works just fine. However, if I try to reference that control again after a postback, say in response to a button click, that object no longer exists. I can create it again using Master.FindControl, but shouldn't it already be there, since I created the reference in the PageRender event which has already happenned (I declared it in global scope, and initialized it in PageRender)?
Thanks.
Aaron
|