Welcome to Dream.In.Code
Become an Expert!

Join 149,831 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,549 people online right now. Registration is fast and FREE... Join Now!




Fixed Header in ASP.Net DataGrid

 
Reply to this topicStart new topic

Fixed Header in ASP.Net DataGrid

Kalesh
5 Feb, 2007 - 09:56 PM
Post #1

New D.I.C Head
*

Joined: 5 Feb, 2007
Posts: 1


My Contributions
I'm having an issue in Fixed Header used in ASP.Net DataGrid.

I'm using a CSS in which ii is mentioned as

.DataGridFixedHeader

{

font-size: 13px;

text-align: center;

font-weight: bold;

position: relative;

cursor: default;

overflow: auto;

top: expression(this.offsetParent.scrollTop-2); /*this works fine with IE only, but FireFox seems to be ignoring this*/

z-index: 10;

font-family: Tahoma;

color: White;

vertical-align: middle;

border-width: 3;

background-color: #666666;

}

This is working fine in IE but it fails in FireFox. I'm using expression(this.offsetParent.scrollTop-2); in my application and this is working fine for IE. It fails in Firefox. Can someone suggest me a method to make it working in Firefox.



User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 09:32AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month