Total sum at child gridview footer
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I successfully created a child gridview with a datalist as my parent. It works well but i decided to put a total on the child gridview's footer. I use databoud fields instead of templatefield fo i can set the nulltext to "0". whn I click an item (item A) to my datalist(parent) it will show the gridview with total sum at the footer. The problem is that, when i click another item on the datalist (sample item B) the total sum at the childgrid of item B is correct but the total sum of the other childgridview (like item A) becomes "0". I used the RowDataBound event to get & compute the total using global variable. I used RowCreated to set the total at the footer. Any help and sample codes would be appreciated. Thanks in advance.