You can add a pager template then add a dropdown list box on that template which shows the page number. So every time you select on that dropdown the datalist will cange according to the page number you selected. =p
H
hallie
@hallie
Posts
-
Paging in dataList -
Total sum at child gridview footerI 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.