title: Access Master Page/Child Page Controls from My Class
body: <p>I have a div on my master page and I want to use it for showing page errors. I have an error display class and it works fine. My problem is that in some instances, the error gets displayed even before the  tag resulting in (non)-display of the message. This is mostly with code that has response.redirect.</p>
  
  <p>I want to counter this by having the error shown on a div within my master page (hoep it helps).</p>
  
  <p>How can I access <code>&lt;div id="errorSegment" runat="server"&gt;</code>?</p>