
Originally Posted by
jasonwucinski
can you add an id to
Code:
<juice:AccordionPanel runat="server" Title="HDD Information" id="someId">
and then try using find control on that, then on the label? (ie
Code:
Me.accSwrlHddRepl.FindControl("accSwrlHddRepl").FindControl("someId").FindControl("lblFirstHddReplacement")
I did that. Your first example:
Code:
Me.accSwrlHddRepl.FindControl("accSwrlHddRepl").FindControl("lblFirstHddReplacement")
Didn't make sense. You wanted me to call the main accordion's FinControl method to find itself and then find the label. I thought it was just a typo. So I put the ID of the panel in there. I mentioned in my first post that I gave it an ID.

Originally Posted by
weirddemon
hen I gave the accordion panel an ID and did FindControl there, but the same issue occurs.
Code:
<juice:AccordionPanel runat="server" Title="HDD Information" ID="pnlHddInfo">
Code:
CType(Me.accSwrlHddRepl.FindControl("pnlHddInfo").FindControl("lblFirstHddReplacement"), Label).Text = "eeeeeeeeeee"