Paging doesn't work if columns built up in code?

B

Bernard O'Flynn

Hi
I am building my bound columns in code. I have attached an event listener
for the paged event.
However when I click on the next page link the event doesn't fire and the
page refreshes without the datagrid even there!
If I build up the bound columns on the aspx page everything works fine.

Can someone please tell me how to do this in code?

Thanks in advance
Bernard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,088
Latest member
JeremyMedl

Latest Threads

Top