I have a custom control siting inside a user control and I want to create a delegate to handle the event. So far, I have not been able to get a reference to that custom control's ID from wihtin my .aspx.cs.
Here's the setup:
MyUserControl.ascx has this custom control in it which ultimately rendres a button:
<am:AddToCart runat="server" Visible="true" id="addToCart" CommandArgument="<%#Container.DataItem.Id %>" ></am:AddToCart>SomePage.aspx has the MyUserControl.ascx in it.
Go to the complete details ...