Disable registered usercontrol

  • Thread starter Thread starter Arjen
  • Start date Start date
A

Arjen

Hi,

I have registerd a usercontrol on my webpage.
How can I find the usercontrol inside my code behind (asp.net 2.0 C#).
I want to disable it... (not visable)... some times...

<uc2:Test ID="Test1" runat="server" />

I tried it with Test1. But it does not give any options.

Hope someone can help!

Thanks!
 
Test1.Visible = false;

should work, despite not getting any intellisense, does the code still
compile/works? I've had intellisense not show up for me in 2005 RTM but the
code still work...

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top