Mark This Response as Answer -- Chandu http://www.dotnetfunda.com/images/dnfmvp.gif
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> <script type="text/javascript" language="javascript"> function enableTextBox() { if (document.getElementById("chkAssociation").checked == true) document.getElementById("txtAddress").disabled = false; else document.getElementById("txtAddress").disabled = true; } </script> </head> <body> <form id="form1" runat="server"> <div> <asp:CheckBox Checked="false" OnChange="javascript:enableTextBox();" ID="chkAssociation" runat="server" /> <asp:TextBox ID="txtAddress" Enabled="false" Text="Test" runat="server" /> </div> </form> </body> </html>
Login to post response