Hi friends,
I am working on gridivew in which i have three columns the addition
first textbox and second textbox get shown into the third textbox but
instead of third textbox i want label but when its label it doesn't show
the addition. I am doing this addition through javascript. Please help
me out.
Any help would be appreciated.
Thanks
vijay
Asp.Net gridivew addition of two columns in third one
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Madhu KRank #1,514 · 1.1K reputationPosted Jan 19, 2011, 11:33 PM EST
document.getElementById("lableid").innerHTML = "Sum value";
And if you show us the code it will be easy to help you.
Vijay YadavRank #1,637 · 943 reputationPosted Jan 20, 2011, 12:14 AM EST
Thanks for your suggestion...
i have used innerHTML but it didn't work.
But jst now i used innerText and its working fine.
Thanks,
Vijay