Hi
I want when click on button in below code LtrlAnswer column should gets enabled & button text should change to Save. On save values should get Updated in Database.
<div class="card"> <div class="card-body"> <div class="row"> <div class="col-md-12"> <!-- Text inputs --> <div class="card"> <table class='table table-bordered table-hover' id='tbldata11'> <thead> <tr> <th class='nosort2'>#</th> <th>Question</th> <th>Answer</th> </tr> </thead> <tbody> <asp:Repeater ID="rptDataLeadInput" runat="server"> <ItemTemplate> <tr> <td> <asp:HiddenField ID="hdfLeadInputID" runat="server" Value='<%# Eval("LeadInputID") %>' /> <asp:Literal ID="ltrlNum" Text="<%# Convert.ToString(Container.ItemIndex + 1) %>" runat="server"></asp:Literal></td> <td> <asp:Literal ID="ltrlQuestion" runat="server" Text='<%# Eval("LeadQuestion") %>'></asp:Literal></td> <td> <asp:Literal ID="ltrlAnswer" runat="server" Text='<%# Eval("LeadAnswer") %>'></asp:Literal></td> </tr> </ItemTemplate> </asp:Repeater> </tbody> </table> </div> </div> </div> </div> </div>
Thanks