I also forgot that you can register your usercontrols in the web.config in the <controls> section. While you wouldn't want to do this for a large number of controls, it does allow all pages to access these controls when needed. So, if you have a few controls that you need to load dynamically at different points, this is a good solution. I am only doing this for the 4 that I need access to for the async postbacks.
Using the...
User Profile
Collapse
-
On Init
Yes, I had also seen this issue. I am using base classes for my user controls and my user controls are loading other usercontrols. Basically, we only want to load things onto the page when the user clicks for them.
I did find something interesting. If you register the user control on the page and then load it in via the placeholder, the events are fired just fine.
So the problem really is...Leave a comment:
-
Any Solution?
I am so happy to finally find I am not the one with this problem. Did you find an appropriate solution yet? I have an update panel that loads a user control. The user control has an updatepanel containing a datalist. Outside of this updatepanel is an Add link. The Add link works great, but the "Remove" link tied to the datalist does not.
So - any solutions would be great to hear.
...Leave a comment:
No activity results to display
Show More
Leave a comment: