Without going back to the server it does require javascript, something
untested like:
<asp:label id="usernameLabel" runat="server" /> <asp:dropdownlist id="ddl"
runat="server" onChange="changed(this);" />
<script language="javascript">
function changed(ddl){
var username = document.getElementById('<%=usernameLabel.UniqueId %>');
switch (ddl.options[ddl.selectedIndex].value){
case "1":
username.style.visibility = 'hidden';
break;
default:
username.style.visibility = 'visible';
break;
}
}
</script>
That's just a basic example,
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Jason" <nf*@nospam.com> wrote in message
news:eX**************@TK2MSFTNGP11.phx.gbl...
I am new to WebForms and am far more comfortable with WinForms. I am
wondering how simple things such as showing/hiding a label and textbox can
be accomplished if a certain Radiobutton option is clicked/unclicked
without taking a trip back to the webserver? Is there some easy way to do this?
(I'm gussing it will require JavaScript)