I have a user control that I'm using programmatically on 2 web forms. On one
web form it is working properly, on the second it is not displayed. I ran the
form step by step, and the debugger goes through the control's load code, but
does not go into the control code itself.
To load the control I use: Control ctl = LoadControl("MyControl.ascx");
I don't understand what is the problem, since I don't see any differences
between the way the control is loaded in the first and second web forms.
Any thoughts?
Thank you
|