Paging doesn't work if datagrid is built in code behind

B

Bernard O'Flynn

Hi
I've also posted this to the datagrid newsgroup and have had no response.
There is also a post from another user with the same issue with no response.

I have a text box which is used to accept a search term. The user clicks a
button and the results are displayed in a datagrid.
Because I need to use .Net localization, I cannot define the datagrid
columns and headers in the aspx page - I have to do it in the code behind.
If I build up the datagrid in the code behind paging doesn't work. I get the
first page and when I click on the forward arrows then:
a) the paging event doesn't fire
b) the datagrid disappears

Can any one help please?

Thanks
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,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top