<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A Scrollable GridView with a Fixed Header in C#</title>
	<atom:link href="http://www.victorchen.info/a-scrollable-gridview-with-a-fixed-header-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.victorchen.info/a-scrollable-gridview-with-a-fixed-header-in-c/</link>
	<description>An array of C#, PHP, and HTML programming articles, tutorials, and resources</description>
	<lastBuildDate>Tue, 02 Mar 2010 21:03:18 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: santosh</title>
		<link>http://www.victorchen.info/a-scrollable-gridview-with-a-fixed-header-in-c/comment-page-1/#comment-16862</link>
		<dc:creator>santosh</dc:creator>
		<pubDate>Fri, 22 Jan 2010 15:02:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=220#comment-16862</guid>
		<description>I tried in the same way, but succeeded partially.

but finally i found a way where GridView Header should be disabled (ShowHeader=&quot;false&quot;):

1. create a normal HTML table row (same width as gridview) with LINK BUTTONS as column headings where cells width should be same as respective gridview column width
2. create a div below html table row with overflow:auto and importantly some fixed height.
3. create your gridview in above div disabling HEADER and enabling SORT
4. Assign following c# script on LINK Button in html table row Header (on link button(s) click)

      private void sortGridView(string expression, string SortSess)
    {
        SortDirection direction =SortDirection.Descending;

        Search_View.Sort(&quot; ORDER by &quot; + expression + &quot; ASC&quot;, direction);
    }

where expression is DB column name</description>
		<content:encoded><![CDATA[<p>I tried in the same way, but succeeded partially.</p>
<p>but finally i found a way where GridView Header should be disabled (ShowHeader=&#8221;false&#8221;):</p>
<p>1. create a normal HTML table row (same width as gridview) with LINK BUTTONS as column headings where cells width should be same as respective gridview column width<br />
2. create a div below html table row with overflow:auto and importantly some fixed height.<br />
3. create your gridview in above div disabling HEADER and enabling SORT<br />
4. Assign following c# script on LINK Button in html table row Header (on link button(s) click)</p>
<p>      private void sortGridView(string expression, string SortSess)<br />
    {<br />
        SortDirection direction =SortDirection.Descending;</p>
<p>        Search_View.Sort(&#8221; ORDER by &#8221; + expression + &#8221; ASC&#8221;, direction);<br />
    }</p>
<p>where expression is DB column name</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Multiple Browser Problem</title>
		<link>http://www.victorchen.info/a-scrollable-gridview-with-a-fixed-header-in-c/comment-page-1/#comment-16741</link>
		<dc:creator>Multiple Browser Problem</dc:creator>
		<pubDate>Wed, 18 Nov 2009 13:59:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=220#comment-16741</guid>
		<description>This is working for IE but nor Firefox, as mentioned above..

Any solutions?</description>
		<content:encoded><![CDATA[<p>This is working for IE but nor Firefox, as mentioned above..</p>
<p>Any solutions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ka</title>
		<link>http://www.victorchen.info/a-scrollable-gridview-with-a-fixed-header-in-c/comment-page-1/#comment-16717</link>
		<dc:creator>ka</dc:creator>
		<pubDate>Fri, 30 Oct 2009 12:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=220#comment-16717</guid>
		<description>it is nt working in IE window restore mode......
gettin overlapped.......</description>
		<content:encoded><![CDATA[<p>it is nt working in IE window restore mode&#8230;&#8230;<br />
gettin overlapped&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave S</title>
		<link>http://www.victorchen.info/a-scrollable-gridview-with-a-fixed-header-in-c/comment-page-1/#comment-16697</link>
		<dc:creator>Dave S</dc:creator>
		<pubDate>Tue, 27 Oct 2009 12:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=220#comment-16697</guid>
		<description>Very Nice and Clean.  Thanks!  Do you have one that sorts by column when the user clicks on the column headings?</description>
		<content:encoded><![CDATA[<p>Very Nice and Clean.  Thanks!  Do you have one that sorts by column when the user clicks on the column headings?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Eric</title>
		<link>http://www.victorchen.info/a-scrollable-gridview-with-a-fixed-header-in-c/comment-page-1/#comment-16651</link>
		<dc:creator>John Eric</dc:creator>
		<pubDate>Thu, 22 Oct 2009 02:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=220#comment-16651</guid>
		<description>Guys, you might want to try this open-source ASP.NET CoolGridView. It just extends ASP.NET GridView. It supports fix headers, footer and pager. You can also place it inside UpdatePanel with no issue. It works well in Internet Explorer 8.0.6001, Firefox 3.5.3 and Safari 4.0.2.

http://johnsobrepena.blogspot.com/2009/09/extending-aspnet-gridview-for-fixed.html</description>
		<content:encoded><![CDATA[<p>Guys, you might want to try this open-source ASP.NET CoolGridView. It just extends ASP.NET GridView. It supports fix headers, footer and pager. You can also place it inside UpdatePanel with no issue. It works well in Internet Explorer 8.0.6001, Firefox 3.5.3 and Safari 4.0.2.</p>
<p><a href="http://johnsobrepena.blogspot.com/2009/09/extending-aspnet-gridview-for-fixed.html" rel="nofollow">http://johnsobrepena.blogspot.com/2009/09/extending-aspnet-gridview-for-fixed.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DEL</title>
		<link>http://www.victorchen.info/a-scrollable-gridview-with-a-fixed-header-in-c/comment-page-1/#comment-16647</link>
		<dc:creator>DEL</dc:creator>
		<pubDate>Wed, 21 Oct 2009 18:13:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=220#comment-16647</guid>
		<description>There is an even easier way. Just create a Label background what ever color U wish. Place that at the top of grid outside the Panel. Then place lables which will be used for the field names on top of the long label. U will need to make sure the label fields on in front of the longer Header label. Make the label fields a different color that the header label. Thata all now U have a fixed header without using Css or any other code.</description>
		<content:encoded><![CDATA[<p>There is an even easier way. Just create a Label background what ever color U wish. Place that at the top of grid outside the Panel. Then place lables which will be used for the field names on top of the long label. U will need to make sure the label fields on in front of the longer Header label. Make the label fields a different color that the header label. Thata all now U have a fixed header without using Css or any other code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saranathan</title>
		<link>http://www.victorchen.info/a-scrollable-gridview-with-a-fixed-header-in-c/comment-page-1/#comment-16464</link>
		<dc:creator>saranathan</dc:creator>
		<pubDate>Wed, 09 Sep 2009 15:09:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=220#comment-16464</guid>
		<description>these code doesn&#039;t work when we use gridview mouseover and mouseout event</description>
		<content:encoded><![CDATA[<p>these code doesn&#8217;t work when we use gridview mouseover and mouseout event</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sudhir</title>
		<link>http://www.victorchen.info/a-scrollable-gridview-with-a-fixed-header-in-c/comment-page-1/#comment-16415</link>
		<dc:creator>sudhir</dc:creator>
		<pubDate>Tue, 25 Aug 2009 04:47:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=220#comment-16415</guid>
		<description>Hi Boss
This article is good and i used this css file for my gridview for fixed header. But it is not working</description>
		<content:encoded><![CDATA[<p>Hi Boss<br />
This article is good and i used this css file for my gridview for fixed header. But it is not working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajesh</title>
		<link>http://www.victorchen.info/a-scrollable-gridview-with-a-fixed-header-in-c/comment-page-1/#comment-16399</link>
		<dc:creator>rajesh</dc:creator>
		<pubDate>Thu, 13 Aug 2009 04:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=220#comment-16399</guid>
		<description>hi i have used the csss style sheet of grid but on window resize i am not getting the proper header The header is becoming static there Any solution please</description>
		<content:encoded><![CDATA[<p>hi i have used the csss style sheet of grid but on window resize i am not getting the proper header The header is becoming static there Any solution please</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nitin Sharma</title>
		<link>http://www.victorchen.info/a-scrollable-gridview-with-a-fixed-header-in-c/comment-page-1/#comment-16397</link>
		<dc:creator>Nitin Sharma</dc:creator>
		<pubDate>Tue, 11 Aug 2009 06:47:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=220#comment-16397</guid>
		<description>Good one..!! worked..</description>
		<content:encoded><![CDATA[<p>Good one..!! worked..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
