I have a strange problem that I ran across testing something else on my site. On my Default.aspx page, I register a user control and call it to render and fill in some HTML on the page.
<%@ Register Src="controls/Home/GetFriendFeed.ascx" TagName="GetFriendFeed" TagPrefix="uc1" %>
<uc1:GetFriendFeed ID="GetFriendFeed1" runat="server" />
When I go to Default.aspx, it calls the control once, not a problem. I have a nested MasterPage (not sure if that is the cause), that is the same for both of these pages. When I go to another page, profile.aspx, that does NOT have the @Register or the user control anywhere on the page, the user control executes 3 times.
I'm not sure what the cause of this is. Any help or advice of where to look would be helpful!
View Complete Post