Sep 12, 2011 at 1:24 PM

is it possible to set the scrolltop of the coolgridview with javascript?

for the div i made it like this: divGrid.scrollTop = 50; but on the coolgridview i couldn't realize.


Thanks Lot.

Apr 13, 2012 at 2:57 PM

I was able to scroll to the bottom using Javascript. I needed to run my page and view source to see what ID they gave the Div. I believe it will be the ID you give your gridview + jEsCoOl_tableDiv. So if Gridview ID="Test" it would be something like this...

function scrollGrid() {
    document.getElementById("TestjEsCoOl_tableDiv").scrollTop = x;

May 31, 2013 at 10:51 AM
Dear Dustin99,

Tried you method, but it doesn't work.

My gridview doesn't seem to maintain scroll position after postback...

Any ideas ?

The gridview is in inside an updatepanel.