How to make the controls visible and invisible where are placed on the same form ?I have a combo box which has to be shown or hidden depending on the user action. How to do it ?????
Hand in Hand we Walk towards SUCCESS.
Printable View
How to make the controls visible and invisible where are placed on the same form ?I have a combo box which has to be shown or hidden depending on the user action. How to do it ?????
Hand in Hand we Walk towards SUCCESS.
each control has a Visible property that you can set (to True/False) at runtime.
So, depending on the user action set the combo's visible property to False/True.
wait a minute. your subject says "on my page"...
on an HTML page you would set the visibility property:
<input type="text" value="test" id="test">
<input type="button" onclick="document.all.test.style.visibility='hidden';">
...to hide a "control"...
you could also set ...style.display = "none" (with different results, though)