Posted on: 12/25/2013 7:24:14 AM | Views : 818

I have a css style class :
.headerclass {
font-weight: bold; background-color: Green; position: relative; top: expression(this.parentNode.parentNode.parentNode.scrollTop-1); }
and my source file looks like this :
<asp:GridView ID="GridView3" GridLines="None" AllowPaging="true" PageSize="5"
AutoGenerateColumns="false" runat="server" CellPadding="4" DataKeyNames="Order_No" 
DataSourceID="SqlDataSource1" ForeColor="#333333" Width="1073px" OnRowCommand="GridView3_RowCommand1" Height="16px" OnSelectedIndexChanged="GridView3_SelectedIndexChanged" >
<HeaderStyle CssClass="headerclass" BackColor="#EBF3FF" Font-Size="13px" Font-Names="Times New Roman, Times, serif" BorderColor="Black" BorderStyle=& ...

Go to the complete details ...