Hi All,
I have a data grid with a few columns. The first column is a checkbox template and the last column holds numeric values.
When the user clicks the checkbox, I need to add up all the rows with the checkboxes checked and place that sum in textbox on the screen.
On the checkbox I have placed code:
Dim JScriptValue1 As String
JScriptValue1 = ("alert('test');")
recpt.Attributes.Add("onClick", JScriptValue1)
---------------
Now I need javascript code to sum up all the checkbox interger values. Is there an easy way to do this?
I have a data grid with a few columns. The first column is a checkbox template and the last column holds numeric values.
When the user clicks the checkbox, I need to add up all the rows with the checkboxes checked and place that sum in textbox on the screen.
On the checkbox I have placed code:
Dim JScriptValue1 As String
JScriptValue1 = ("alert('test');")
recpt.Attributes.Add("onClick", JScriptValue1)
---------------
Now I need javascript code to sum up all the checkbox interger values. Is there an easy way to do this?