selvi subramanian

selvi subramanian

  • NA
  • 799
  • 560.4k

to add 2 textbox value show in another textbox without using

Aug 19 2013 4:02 AM
   
to add 2 textbox value show in another textbox without using button click event using on text changed event in textbox



<table class="style1">
        <tr>
            <td>
                a</td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                b</td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server" ontextchanged="TextBox2_TextChanged"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                a+b</td>
            <td>
                <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
            </td>
        </tr>
</table>



textbox3=textbox1+textbox2;


i need it in on textchanged event




Answers (6)