E
EO
Summary:
I have a user control containing 1 dropdownlist that's using
selectedindexchanged to raise a custom event. In the hosting page, I can't
get the raised event to fire (though the base event does fire within the
user control). The chief suspect is that in the hosting page, I haven't
found any code tricks that let me reference the user control or the
dropdownlist within the usercontrol through intellisense. This leads me to
believe that I'm blowing something in the declarations or whatever it takes
to properly reference my user control.
I'm using VB with codebehinds. Any insight on how to properly reference the
usercontrol would be appreciated. The hosting page contains:
<%@ Register TagPrefix="dropMyDept" TagName="MyDepts"
src="Controls/MyDepartmentList.ascx" %>
<dropMyDept:MyDepts id="DeptContext" OnChange="ChangeContext"
runat="server"></dropMyDept:MyDepts>
If you want the code I'm using for firing the custom event, ask and ye shall
receive.
-EO
I have a user control containing 1 dropdownlist that's using
selectedindexchanged to raise a custom event. In the hosting page, I can't
get the raised event to fire (though the base event does fire within the
user control). The chief suspect is that in the hosting page, I haven't
found any code tricks that let me reference the user control or the
dropdownlist within the usercontrol through intellisense. This leads me to
believe that I'm blowing something in the declarations or whatever it takes
to properly reference my user control.
I'm using VB with codebehinds. Any insight on how to properly reference the
usercontrol would be appreciated. The hosting page contains:
<%@ Register TagPrefix="dropMyDept" TagName="MyDepts"
src="Controls/MyDepartmentList.ascx" %>
<dropMyDept:MyDepts id="DeptContext" OnChange="ChangeContext"
runat="server"></dropMyDept:MyDepts>
If you want the code I'm using for firing the custom event, ask and ye shall
receive.
-EO