Hi all,
I am calculating the total of one gridivew cells using javascript and displaying the resul in gridivew
footer. but i am getting this exception
Microsoft JScript runtime error: 'document.getElementById(...)' is null or not an object
Here is my code:
Posted May 23, 2011, 8:55 AM
Do one thing....
var gridview1 = document.getElementById('<%=grdview1.ClientID %>');
gridview1.rows[gridview.rows.length -1].cells[0].innerHTML=total;
Please try this...