User Control not called

V

Vi

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top