mgmhicks
asked on
how to change html control with vb code behind
I have the following line of code on a page
<li id="OneTime" runat="server"> <a runat="server" href="../Collections/OneTi mePayment" >One-Time Payment</a></li>
Here is the code behind that doesn't seem to make this line be invisible.
myUL = Master.FindControl("OneTim e")
myUL.Visible = False
but the the line is still there. Any ideas.
thanks
<li id="OneTime" runat="server"> <a runat="server" href="../Collections/OneTi
Here is the code behind that doesn't seem to make this line be invisible.
myUL = Master.FindControl("OneTim
myUL.Visible = False
but the the line is still there. Any ideas.
thanks
ASKER
Its inside the container class not the container control.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
FindControl does not search in controls within controls.