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

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top