Ramco Ramco

Ramco Ramco

  • 441
  • 3.4k
  • 523.4k

Condition Implementation

Oct 13 2022 5:17 AM

Hi

 I want Update Status should be disabled if Value in Status Field is Returned or Lost

<asp:Repeater ID="rptData" runat="server">
    <ItemTemplate>
        <tr>
            <td>
                <asp:Literal ID="ltrlNum" Text="<%# Convert.ToString(Container.ItemIndex + 1) %>" runat="server"></asp:Literal></td>
            <td>
                <asp:Literal ID="ltrlLeadNumber" runat="server" Text='<%# Eval("LeadNumber") %>'></asp:Literal>
            </td>
            <td>
                <asp:Literal ID="ltrlChildName" runat="server" Text='<%# Eval("StudentName") %>'></asp:Literal></td>
            <td>
                <asp:Literal ID="ltrlBookTitle" runat="server" Text='<%# Eval("BookTitle") %>'></asp:Literal></td>
            <td class="text-center">
                <asp:LinkButton ID="lnkUpdateStatus" class="text-primary-600" OnClick="lnkUpdateStatus_Click" runat="server">Update Status</asp:LinkButton></td>
        </tr>
    </ItemTemplate>
</asp:Repeater>

Thanks


Answers (1)