What do you mean by "getting called"?

The order of loading (and rendering) is:

ParentControl.OnLoad followed by AllChildren.OnLoad which implies that first
Load even of Parent control is trigerred followed by that of the child

Similarly, the default implementation in RenderControl method is to render
all child controls.

There's no escape.
IIRC, there's some private / internal method LoadRecursive (you can get it
by simply overriding OnLoad method and throwing an exception and then
seeting the stacktrace). You would get a stacktrace similar to below:

System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) +1061

Happy Hacking,
Gaurav Vaish | [url]www.mastergaurav.com[/url]

"A Programmer" <AProgrammerdiscussions.microsoft.com> wrote in message
>I am working on another developers stuff and he has Two user controls: a
> search UC and a grid UC the seach UC is embedding in the grid UC
> consequently
> the grid UC is getting called first and messing with my code. I need the
> search UC to get called first. I am leaning toward just taking the search
> UC
> out of the grid UC. Any other ideas?