How do I determine if a control is enabled on a page?
<p>I have a TextBox in a Panel on an aspx page.</p>

<p>I need to disable a RequiredFieldValidator if the textBox is not enabled.</p>

<p>If the Panel is disabled, and TextBox.Enabled is True, then the textbox is disabled on the page (which is fine.)</p>

<p>So how can I find out if the TextBox is disabled on the page if the Enabled Property is not reliable?</p>

<p>Note that I need a generic solution, as there may be many nested levels of containers, and the containers are not always Panels.</p>
