Geeks With Blogs
faizan ahmad Usually the things which were not a straight Google
I had a Repeater control within a div. Now when there were more records than visible within height of DIV a scroll bar appear. But, when user scrolls down, the headings ( within HeaderTemplate) would go up and not be visible.

After googling a little, I was able to find the solution on code project:

http://www.codeproject.com/KB/webforms/DataGridFixedHeader.aspx


In my case though I had a 'tr' element within 'HeaderTemplate' element ,so I applied it to like:

<tr class="ms-formlabel DataGridFixedHeader " >

Limitation:

It worked fine in IE 7, but in IE 6 the background image, if you have any in css,  would disappear on scrolling. Posted on Thursday, January 8, 2009 3:48 PM ASP.NET | Back to top


Comments on this post: Fixed Header for Data Repeater Control

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © faizanahmad | Powered by: GeeksWithBlogs.net