Click here to Skip to main content
15,919,336 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have this repeater control
C#
<div id="repeterDiv">
    <table class="grid">
         <asp:Repeater ID="Repeater1" runat="server" ClientIDMode="Static">                                    <HeaderTemplate>
                <table>
                     <tr>
                       <td>HSCode</td>
                       <td>Inhalt</td>
                       <td>Amount</td>
                     </tr>
                 </table>
</HeaderTemplate>
<ItemTemplate>
   <table class="elementTable,grid">
    <tr>
      <td>
        <asp:TextBox ID="txtGHSCode"  runat="server" ClientIDMode="Static" Width="100px"> </asp:TextBox>
      </td>
      <td>
        <asp:TextBox ID="txtGInhalt" CssClass="textboxType" runat="server" ClientIDMode="Static" Width="60px"></asp:TextBox>
 
   </td>
                                                               
   <td>
    <asp:TextBox ID="txtGAmount" runat="server" Enabled="false" Width="100px"></asp:TextBox>
   </td>
                                                                
   </tr>
 </table>
</ItemTemplate>
 
</asp:Repeater>
</table>
</div>

now on text change of "txtGAmount" , I want to add other row in same repeater to add more data for HsCode , inhalt.
and save the previos data on same textboxes.
eg .

HSCode Inhalt Amount
1) 123 1 20 (on text change og "txtGAmount")
want to show 3 text boxes using jquery to enter more data.


want output :-
HSCode Inhalt Amount
1) 123 1 20
2) (textbox) (textbox) (textbox)

is any one have solution for this .reply soon.
Thankx.
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900