Can't make usercontrol visible

G

Guest

Hi
I've got a couple user controls on a Mater Page. One of then I don't want to
be shown on the screen until the user logs in. So I set the visible property
to false, and during a Masterpage custom event (kicked off by a login user
control) I needed to set the visible property of the control to true, but
after the page finishs rendering, the sontrol is not visible. What can cause
this problem. I also tried setting the visible property within a public
function of the user control and it still won't show.
I also tried diabling the controls within the usercontrol until the user
logs in, but I try and set the enabled properties of the controls, they still
appear to be disabled.
Whats going on? The user control in questions is not databound. If you have
any suggestions, please let me know. Thanks
Mike
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top