Posted on: 3/1/2014 9:58:06 PM | Views : 621

I have put a user control on my template page, say Test.aspx
<site:Control1 runat="server" id="Bigbox" AdType="bigbox" AdTile="1" ServeOop="True"/> And in the code behind of Control1, it is trying to find another user control that is put on the master page.
if (this.Page.Master.FindControl("Control2") != null), Now, the way we designed our sites is that we have template page calls a master page that calls another master page, what i meant is this in Test.aspx, it has MasterPageFile="~/Views/CMSTemplates/Shows/Show.master" and in Show.master, it has MasterPageFile="~/Views/CMSTemplates/Wrapper.master" in Wrapper.master, it has `"~/Views/CMSTemplates/Site.master"` Now, site.master is the master page at the root level, all te ...

Go to the complete details ...