Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 516.5k

Enable/Disable TextBox

Aug 26 2024 9:22 AM

Hi

  I want if checkbox is enabled then the other 2 text button should get enabled

<div class="col-lg-5" id="divCbox" runat="server">
    <div class="form-group">
        <label>Assign Current Session Only</label>
        <asp:CheckBox ID="chkSession" CssClass="form-check-input-styled form-control" Text="" runat="server" />
    </div>
</div>


<div class="col-lg-6">
    <div class="form-group">
        <label>Reading Proficiency</label>&nbsp;<span style="color: red">*</span>
        <asp:TextBox ID="txtRP" ReadOnly="true" CssClass="form-control num" placeholder="Reading Proficiency" runat="server"></asp:TextBox>
    </div>
</div>
<div class="col-lg-6">
    <div class="form-group">
        <label>Track</label>&nbsp;<span style="color: red">*</span>
        <asp:TextBox ID="txtTrack" ReadOnly="true" CssClass="form-control num" placeholder="Track" runat="server"></asp:TextBox>
    </div>
</div>

Thanks


Answers (2)