Gridview ASP.NET中的固定标题 [英] Fixed Header in Gridview ASP.NET
本文介绍了Gridview ASP.NET中的固定标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
谁能帮我在ASP.NET中获取gridview的固定标头.
在此先感谢.
Hi All,
Can anyone help me in getting the fixed header for a gridview in ASP.NET.
Thanks in Advance.
推荐答案
查看此文章.
固定标题的网格视图 [ Gridview固定标题 [ http://geekswithblogs.net/thanigai/archive/2009/05/05/gridview-fixed-header.aspx [ ^ ]
最好的问候
M.Mitwalli
Hi ,
Check this Articles .
Gridview with Fixed Header[^]
Gridview Fixed Headers[^]
http://geekswithblogs.net/thanigai/archive/2009/05/05/gridview-fixed-header.aspx[^]
Best Regards
M.Mitwalli
要冻结Gridview标头,请尝试:
步骤1:
创建如下的CSS类
To freeze Gridview header, try:
Step 1:
Create a CSS class as following
.HeaderFreez
{
position:relative ;
top:expression(this.offsetParent.scrollTop);
z-index: 10;
}
步骤2:
如下设置Gridview的HeaderStyle CssClass CssClass="HeaderFreez"
Step 2:
Set Gridview''s HeaderStyle CssClass as follows CssClass="HeaderFreez"
这篇关于Gridview ASP.NET中的固定标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文