If you have a control, such as a label, that you set the "VISIBLE" property to false in the designer, then the control is not rendered to the client. This means you cannot use javascript to manipulate the control, because it is not there. So, if you want to make a label visible that has the visible property set to false in the designer, you cannot do it directly.
In order to have the control rendered, use the style attribute: display:none to make the control invisible on startup. Then, you can use javascript to set the element.style.display="inline" to make it visible when the program is running.
Just a little annoyance until you figure out how to get around it.
No comments:
Post a Comment