I have a MasterPage, with my Usercontrol inside a div.
I can set visible=false to the UserControl and to the containing div, and this works fine. But the Page_Load of the UserControl is always hit.
Is this by design, or am I missing how to stop page execution going into the Page_Load method of the UserControl.
You cant stop execution going into the PageLoad event method for a user control.
@joshperry suggestion to use Visible property to determine whether or not to do a time consuming operation in the code is a good one.
The other option would be to complete the time consuming option in the OnPreRender event method.