<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Freeze ASP.NET GridView Headers by Creating Client-Side Extenders</title><link>http://weblogs.asp.net/dwahlin/archive/2007/07/31/freeze-asp-net-gridview-headers-by-creating-client-side-extenders.aspx</link><description>Lately I've been working on a pet project where I needed to freeze a GridView header so that it didn't move while the grid records were scrolled by an end user. After searching the Web I came across a lot of "pure" CSS ways to freeze a header. After researching</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Receive error loading types From Assembly</title><link>http://weblogs.asp.net/dwahlin/archive/2007/07/31/freeze-asp-net-gridview-headers-by-creating-client-side-extenders.aspx#6885469</link><pubDate>Thu, 05 Feb 2009 15:42:06 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6885469</guid><dc:creator>ASP.NET AJAX Toolkit Forum Posts</dc:creator><author>ASP.NET AJAX Toolkit Forum Posts</author><description>&lt;p&gt;Hello, I downloaded a ASP.NET AJAX Extender control from &lt;a rel="nofollow" target="_new" href="http://weblogs.asp.net/dwahlin/archive/2007"&gt;weblogs.asp.net/.../2007&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6885469" width="1" height="1"&gt;</description></item><item><title>51 Ajax scripts for .net &amp;laquo; The Adventures of Amit Dua</title><link>http://weblogs.asp.net/dwahlin/archive/2007/07/31/freeze-asp-net-gridview-headers-by-creating-client-side-extenders.aspx#6673295</link><pubDate>Sat, 11 Oct 2008 18:06:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6673295</guid><dc:creator>51 Ajax scripts for .net « The Adventures of Amit Dua</dc:creator><author>51 Ajax scripts for .net « The Adventures of Amit Dua</author><description>&lt;p&gt;Pingback from &amp;nbsp;51 Ajax scripts for .net &amp;amp;laquo; The Adventures of Amit Dua&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6673295" width="1" height="1"&gt;</description></item><item><title>关于GridView固定标题的一些资源(freeze gridview header)</title><link>http://weblogs.asp.net/dwahlin/archive/2007/07/31/freeze-asp-net-gridview-headers-by-creating-client-side-extenders.aspx#6666853</link><pubDate>Thu, 09 Oct 2008 09:13:06 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6666853</guid><dc:creator>LanceZhang</dc:creator><author>LanceZhang</author><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;checktheselinks&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://weblogs.asp.net/dwahlin/archive/2007/07/31/freeze-asp-net-gridview-hea"&gt;weblogs.asp.net/.../freeze-asp-net-gridview-hea&lt;/a&gt;...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6666853" width="1" height="1"&gt;</description></item><item><title>add row in header asp net gridview</title><link>http://weblogs.asp.net/dwahlin/archive/2007/07/31/freeze-asp-net-gridview-headers-by-creating-client-side-extenders.aspx#6150524</link><pubDate>Fri, 02 May 2008 14:29:22 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6150524</guid><dc:creator>add row in header asp net gridview</dc:creator><author>add row in header asp net gridview</author><description>&lt;p&gt;Pingback from &amp;nbsp;add row in header asp net gridview&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6150524" width="1" height="1"&gt;</description></item><item><title>re: Freeze ASP.NET GridView Headers by Creating Client-Side Extenders</title><link>http://weblogs.asp.net/dwahlin/archive/2007/07/31/freeze-asp-net-gridview-headers-by-creating-client-side-extenders.aspx#4009875</link><pubDate>Fri, 21 Sep 2007 15:58:37 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:4009875</guid><dc:creator>dwahlin</dc:creator><author>dwahlin</author><description>&lt;p&gt;You'll need to ensure that the CSS classes added to the rows when the GridView first loads are preserved as you switch classes with your JavaScript code.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=4009875" width="1" height="1"&gt;</description></item><item><title>re: Freeze ASP.NET GridView Headers by Creating Client-Side Extenders</title><link>http://weblogs.asp.net/dwahlin/archive/2007/07/31/freeze-asp-net-gridview-headers-by-creating-client-side-extenders.aspx#4001292</link><pubDate>Fri, 21 Sep 2007 09:35:34 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:4001292</guid><dc:creator>Andre</dc:creator><author>Andre</author><description>&lt;p&gt;Nice article, and it works but...&lt;/p&gt;
&lt;p&gt;when I add styling to the gridview for highlighting the rows when hovered:&lt;/p&gt;
&lt;p&gt;gridViewRow.Attributes[&amp;quot;onmouseout&amp;quot;] = (gridViewRow.RowIndex % 2) == 0 ? &amp;quot;this.className=&amp;#39;gridRow&amp;#39;&amp;quot; : &amp;quot;this.className=&amp;#39;gridAlternatingRow&amp;#39;&amp;quot;;&lt;/p&gt;
&lt;p&gt;gridViewRow.Attributes.Add(&amp;quot;onmouseover&amp;quot;, &amp;quot;this.className=&amp;#39;gridSelectedRow&amp;#39;&amp;quot;);&lt;/p&gt;
&lt;p&gt;the header jumps to the top of the scrolled div, and is no longer fixed.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=4001292" width="1" height="1"&gt;</description></item><item><title>&amp;raquo; GridView and AJAXOnline Dating &amp;#038; Entertainment Reviews &amp;raquo; Blog Archive</title><link>http://weblogs.asp.net/dwahlin/archive/2007/07/31/freeze-asp-net-gridview-headers-by-creating-client-side-extenders.aspx#3986449</link><pubDate>Thu, 20 Sep 2007 15:35:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3986449</guid><dc:creator>» GridView and AJAXOnline Dating &amp; Entertainment Reviews » Blog Archive</dc:creator><author>» GridView and AJAXOnline Dating &amp; Entertainment Reviews » Blog Archive</author><description>&lt;p&gt;Pingback from &amp;nbsp;&amp;amp;raquo; GridView and AJAXOnline Dating &amp;amp;#038; Entertainment Reviews &amp;amp;raquo; Blog Archive&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3986449" width="1" height="1"&gt;</description></item><item><title>MSDN Blog Postings  &amp;raquo; GridView and AJAX</title><link>http://weblogs.asp.net/dwahlin/archive/2007/07/31/freeze-asp-net-gridview-headers-by-creating-client-side-extenders.aspx#3985913</link><pubDate>Thu, 20 Sep 2007 14:47:46 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3985913</guid><dc:creator>MSDN Blog Postings  » GridView and AJAX</dc:creator><author>MSDN Blog Postings  » GridView and AJAX</author><description>&lt;p&gt;Pingback from &amp;nbsp;MSDN Blog Postings &amp;nbsp;&amp;amp;raquo; GridView and AJAX&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3985913" width="1" height="1"&gt;</description></item><item><title>How do I freeze an ASP.NET GridView header?</title><link>http://weblogs.asp.net/dwahlin/archive/2007/07/31/freeze-asp-net-gridview-headers-by-creating-client-side-extenders.aspx#3948736</link><pubDate>Tue, 18 Sep 2007 17:16:03 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3948736</guid><dc:creator>ASP.NET AJAX Team Blogs</dc:creator><author>ASP.NET AJAX Team Blogs</author><description>&lt;p&gt;This question came up at the Public Sector Developer Conference in Anchorage, AK. I'm trying to answer&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3948736" width="1" height="1"&gt;</description></item><item><title>re: Freeze ASP.NET GridView Headers by Creating Client-Side Extenders</title><link>http://weblogs.asp.net/dwahlin/archive/2007/07/31/freeze-asp-net-gridview-headers-by-creating-client-side-extenders.aspx#3874875</link><pubDate>Sat, 15 Sep 2007 00:58:16 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3874875</guid><dc:creator>Gretchen</dc:creator><author>Gretchen</author><description>&lt;p&gt;Great article - however I have been beating my head against the wall trying to figure out how to have smooth scrolling - all the examples I have seen scroll approx 1 1/2 rows at a time - not good for reviewing data. Any suggestions? I have a feeling it&amp;#39;s browser dependent, although it does the same thing in Firefox and IE6.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3874875" width="1" height="1"&gt;</description></item></channel></rss>