Hi,
I created a control that uses an ITemplate internally in order to allow the user to add its own stuff.
<my:MyControl id="myControl" runat="server">
<Content>
//some stuff in here
</Content>
</my:MyControl>
The "Content" property is the template. (This is just simplified. This construct is within a larger control).
Now I'm having the problem that my user places his own UserControl within the <Content>..</Content>
. That shouldn't be a problem, but the UserControl makes a call to the QueryString of the page in the PageLoad event. And now I recognized that the Page object is null when the UserControl resides within the template while it works if it is placed outside, just normally on the page.
Does anyone have an idea what could be the problem here?