First find parent page then find Masterpage control of parent page.
protected void Button1_Click(object sender, EventArgs e)