Server Control using datagrid, paging fails

R

Roth

Hi all.

My problem is that I have a server control which binds data to a datagrid on
a server control. This part works fine.

Now we want to make the datagrid have paging. But since this is a server
control, I can only do this in C#, I do not have access to an HTML definition
of the datagrid.
As you can guess, the datagrid does not properley page.

The problem is that the arrows/numbers on the bottom of this paging enabled
datagrid do not work. When you mouse over them, or even attempt to click
them, nothing happens.

Looking at the source reveals that the numbers/arrows say:
<a>1</a>
which of course contains no javascript for the postback...

Does Anyone know how to make a datagrid page by using only C# code?
 

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,995
Messages
2,570,228
Members
46,817
Latest member
AdalbertoT

Latest Threads

Top