how to freeze header row of grid view in asp.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rahul2310
    New Member
    • Oct 2013
    • 62

    how to freeze header row of grid view in asp.net

    Hi

    i am developing asp.net web application using visual studio 2010. Code is in vb.net

    I have panel which have horizontal and vertical scroll bars.
    Inside panel there is grid.

    i what grids header row to be freeze while scrolling panel vertically.
    i googled it found many css and javascript but nothing is working for me

    Please help
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    I never found a clean solution to this either.

    What I ended up doing is using 2 grids/tables where one was just for the header information and the other was for the content.

    This is much easier to achieve in ASP.NET MVC because you have control over what elements are used to display your content and how you want them to behave.

    -Frinny

    Comment

    Working...