Click here to Skip to main content
12,555,044 members (53,955 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Alternatives
Alternatives (2)
Add your own
alternative version

Tagged as


21 bookmarked

How to Freeze GridView Header While Scrolling ?

, 13 Sep 2009 CPOL
This is very common problem in Web development that we need tofreeze the GridView header at the time of scrolling, Here is one simpletips:Step 1 : Create a CSS class as following .HeaderFreez  {  position:relative ;   top:expression(this.offsetParent.scrollTop);  z-index: 10;  }   .HeaderFr


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

14 Mar 2010
Pranay Rana
This thing is working for both horizontal and verticle scrolling. Here id of the div is hard coded but you can use jquery to attach css class to div element. div#gridPanel { width:900px; overflow:scroll; position:relative;}div#gridPanel th{ top:...
8 Sep 2010
prasghant grid view


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Abhijit Jana
Technical Lead
India India
.NET Consultant | Former Microsoft MVP - ASP.NET | CodeProject MVP, Mentor, Insiders| Technology Evangelist | Author | Speaker | Geek | Blogger | Husband

Blog :
Web Site :
Twitter : @AbhijitJana
My Kinect Book : Kinect for Windows SDK Programming Guide

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.161021.1 | Last Updated 13 Sep 2009
Article Copyright 2009 by Abhijit Jana
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid