I'm not sure how you placed your controls, but you may need to find controls by using Parent property as below
CustomMessageControls uc1 = (CustomMessageControls)this.Parent.FindControl("MessageControl1");
or
CustomMessageControls uc1 = (CustomMessageControls)this.Parent.Parent.FindControl("MessageControl1");