[RESOLVED] trouble finding a control
<div style="padding: 3px;" id="divPanel">
<asp:Panel ID="pnlComments" runat="server" Visible="false">
<asp:Label ID="lblComments" runat="server" Text="Comments:"></asp:Label>
<asp:TextBox ID="txtComments" runat="server" TextMode="MultiLine" MaxLength="255" Width="320px"></asp:TextBox>
</asp:Panel>
</div>
This control is declared on another control:
<%@ Register Src="~/Controls/Scopes/ScopeActionControl.ascx" TagName="ScopeActionControl"
TagPrefix="uc3" %>
and then used in a table:
<td align="right" valign="top">
<uc3:ScopeActionControl ID="ScopeActionControl1" runat="server" />
</td>
then on a standard page the 'master' control is declared:
<asp:Content ContentPlaceHolderID="contentSummary" runat="server" ID="content1">
<uc1:ScopeSummaryControl ID="scopeSummaryControl" runat="server" />
</asp:Content>
Now on my page_load event I want to find the pnlComments and set it visible under certain conditions. I thought doing this :
scopeSummaryControl.FindControl("ScopeActionControl1").FindControl("pnlComments").Visible = True
Would get me my control, but it seems that it's not even finding ScopeActionControl1.
Any ideas anybody how I can get to the control?

