Hi All,
I've got a database, that i am using a pagedatasouce to output the pagination. I looping over the number of pages using a for loop, and am then creating an htmlgenericcontrol li within it, and assigning it to a parent htmlgenericcontrol ul. once i am done with this, i am then adding the ul control to two panels within my aspx file, as i want the pagination to appear top and bottom. when i do this, i get no compile error or run time error, but i only get the one lot of pagination appearing at the bottom of the page (the last one to be added). i am assuming that the controls.add method is more of a pointer to the control rather than a physical copy this into that. does anyone know how i can get two outputs of this pagination to appear on the page?
this is my code:
pnPagination_Top.Controls.Clear();
pnPagination_Bottom.Controls.Clear(); ...
Go to the complete details ...