In my project there is an editable grid having three fields 'Quantity-Price-Amount', where a user can change 'Quantity/Price' depending on that 'Amount' field value should change at clientside, so that user can see Final amount for that row before saving.
And there is a TextBox which showing Total Amount of all rows, so obviously that textbox value should also be changed.
Anybody suggest any idea to do that?
Thanks in advance.
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" >
<Columns>
<asp:TemplateField HeaderText="Price" SortExpression="Price">
<ItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Price") %>' OnTextChanged="TextBox_TextChanged"
BorderStyle="None"></asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Quantity" SortExpression="description">
<ItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Quantity") %>' OnTextChanged="TextBox_TextChanged"
BorderStyle="None"></asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Amount" SortExpression="Amount">
<ItemTemplate>
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("Amount") %>' OnTextChanged="TextBox_TextChanged"
BorderStyle="None"></asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>