How can i scroll to an anchor on Datapager click?

Posted by strakastroukas on Stack Overflow See other posts from Stack Overflow or by strakastroukas
Published on 2010-06-03T17:23:26Z Indexed on 2010/06/03 17:34 UTC
Read the original article Hit count: 279

First of all, I have bound a datapager control to a listview.

I would like to scroll to the first item of the listview control on the DataPager click. I guess by using javascript, but it seems that the datapager does not allow that...

So what option do i have? How can i scroll, onto a specific anchor, when clicking on the DataPager?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about JavaScript