Javascript to show the gridview column sum on a textbox.

asked 2015-04-17 11:36:17 +0100

laurencarter89 gravatar image

updated 2015-04-17 11:36:46 +0100

Sir, i have a Gridview. in which i take a textbox in a column. i need that when i enter numbers in gridview textbox then it calculate the sum of textbox and show one another textbox. my asp code is here:-

<asp:gridview id="GridOtherFee" runat="server" autogeneratecolumns="false" cssclass="mGrid" datasourceid="SqlOtherFee"> <columns>

      <asp:BoundField DataField="Abb" HeaderText="FeeHead"

Cheap Youtube Views="True" HeaderStyle-Width="100px"/>

      <asp:TemplateField SortExpression="Amount" HeaderText="

Amount" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" HeaderStyle-Width="150px"> <itemtemplate> <asp:textbox id="TxtRecd" runat="server" width="100px" autopostback="true" cssclass="aligntext"></asp:textbox> </itemtemplate> </asp:templatefield>

edit retag flag offensive close merge delete