I only need this to work with IE. This soultion is no use for other browsers.
On 21 July, 18:29, SkeanDu <[email protected]> wrote: > Thanks, I gave up. All the custom paging tutorials I found were based > around using the PagerTemplate. None of them solved my problem. > > I managed to find a satisfactory result by setting the CssClass of > PagerStyle property. > > I put the following (google find) in my main.css > > TR.pagerRow TD > { > POSITION: relative; > BACKGROUND-COLOR: #ffffff; > BOTTOM: expression > ((this.parentNode.parentNode.parentNode.offsetParent.scrollHeight <= > this.parentNode.parentNode.parentNode.offsetParent.clientHeight)? > 0:this.parentNode.parentNode.parentNode.offsetParent.scrollHeight - > this.parentNode.parentNode.parentNode.offsetParent.clientHeight - > this.parentNode.parentNode.parentNode.offsetParent.scrollTop - 3); > > } > > Then simply set <PagerStyle CssClass="pagerRow" /> > > The pager row is now static whilst the datagrid scrolls. > > Sorted :) > > On Jul 21, 9:42 am, Cerebrus <[email protected]> wrote: > > > > > To answer your question, no there isn't an "easy" way to decouple the > > Pager from the GridView. You'd have to create your own custom paging > > implementation by deriving the GridView. > > > On Jul 20, 7:45 pm, SkeanDu <[email protected]> wrote: > > > > Hi, > > > > I have recently returned to to ASP.NET after not using it for about 18 > > > months... so I am more than a little rusty!! > > > > Anyway, my problem is that I have a GridView that is contained in a > > > scrollable asp:panel on my page. I would like to use the GridView > > > paging but I don't want it to be included within the scrollable panel. > > > Is there an easy way to remove the paging from inside the panel > > > control so that it is static at the bottom of the page!? > > > > Thanks for any info. > > > > V- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -
