Ramco Ramco

Ramco Ramco

  • 440
  • 3.4k
  • 527.6k

Highlight Radio Button

Sep 19 2022 10:14 AM

Hi

I have below code . I want Radio Button rb1 by default should be Highlighted.as "P" is shown in mage.

<td>
    <div class="btn-group btn-group-toggle" data-toggle="buttons">
        <label class="btn btn-outline-primary">
            <asp:RadioButton ID="rb1" GroupName="options" runat="server" checked="true" Text="P"/>
        </label>
        <label class="btn btn-outline-primary">
            <asp:RadioButton ID="rb2" GroupName="options" runat="server" Text="A"/>
        </label>
    </div>
</td>

Thanks


Answers (1)