I have a dynamically built radgrid which outputs a list of products and their unit price.
I have also created a template column for the grid which puts a textbox on each row so that a user can enter a quantity.
What I need to do is have some javascript so that when a user enters the quantity into the textbox for a given row, the cost of the unit price multiplied by the quantity is displayed on the row in another column, under the header text "Line Total", and the total of these for all of the rows is displayed at the bottom of the grid.
I also need to be able to have several of these grids on the same page and have the total for all grids displayed at the bottom of the page.
I have managed to get the grids all built ok and have the textboxes output but am really stumped as to how to proceed.
ANY help would be appreciated...
Thanks in advance,
Karl
I have also created a template column for the grid which puts a textbox on each row so that a user can enter a quantity.
What I need to do is have some javascript so that when a user enters the quantity into the textbox for a given row, the cost of the unit price multiplied by the quantity is displayed on the row in another column, under the header text "Line Total", and the total of these for all of the rows is displayed at the bottom of the grid.
I also need to be able to have several of these grids on the same page and have the total for all grids displayed at the bottom of the page.
I have managed to get the grids all built ok and have the textboxes output but am really stumped as to how to proceed.
ANY help would be appreciated...
Thanks in advance,
Karl