Hi, I've got some controls in my 'GeneralControls' assembly (classic DLL), those consists of .ascx file (and codebehind for them).
I'm referencing that DLL, and using the controls as:
<%@ Register Tagprefix="g" Assembly="GeneralControls" Namespace="GeneralControls.UI" %>
<g:FooterControl ID="Footer" runat="server" />
but, FooterControl contains some other controls (labels, and so on), and those, used from codebehind, throws NullArgumentException
. What's the correct way to share ascx controls? Thanks in advance.