<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Adding a GridView Column of Radio Buttons</title><link>http://asp.net</link><pubDate>Mon, 30 Jan 2012 15:00:12 GMT</pubDate><generator>umbraco</generator><description>Comments for Adding a GridView Column of Radio Buttons</description><language>en</language><atom:link href="http://asp.net/rss/comments/33288" rel="self" type="application/rss+xml" /><item><title>Comment Posted by asadazmat</title><link>http://asp.net/web-forms/tutorials/data-access/enhancing-the-gridview/adding-a-gridview-column-of-radio-buttons-cs</link><pubDate>Fri, 25 Feb 2011 11:50:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012239</guid><description><![CDATA[ <p>// Output the markup except for the &quot;checked&quot; attribute</p><p>        output.Text = string.Format(</p><p>            @&quot;&lt;input type=&quot;radio&quot; name=&quot;SuppliersGroup&quot; &quot; +</p><p>            @&quot;id=&quot;RowSelector{0}&quot; value=&quot;{0}&quot; /&gt;&quot;, e.Row.RowIndex);</p><p></p><p>This code has string formatting problem</p><p>The download version of code has right string formatting.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/asadazmat.jpg?forceidenticon=false&amp;dt=635072742600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by asadazmat</title><link>http://asp.net/web-forms/tutorials/data-access/enhancing-the-gridview/adding-a-gridview-column-of-radio-buttons-cs</link><pubDate>Fri, 25 Feb 2011 12:58:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012240</guid><description><![CDATA[ <p>Same is the case when injecting the code for checked=&quot;checked&quot; property for the html control.</p><p>download version has correct code.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/asadazmat.jpg?forceidenticon=false&amp;dt=635072742600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by asadazmat</title><link>http://asp.net/web-forms/tutorials/data-access/enhancing-the-gridview/adding-a-gridview-column-of-radio-buttons-cs</link><pubDate>Fri, 25 Feb 2011 12:58:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012241</guid><description><![CDATA[ <p>Nice tutorial Scott!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/asadazmat.jpg?forceidenticon=false&amp;dt=635072742600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by blmiles</title><link>http://asp.net/web-forms/tutorials/data-access/enhancing-the-gridview/adding-a-gridview-column-of-radio-buttons-cs</link><pubDate>Mon, 30 Jan 2012 15:00:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014739</guid><description><![CDATA[ <p>Scott, are you still tracking this?</p><p></p><p>If so, I have a question and not been able to solve the issue at all.</p><p></p><p>Here goes...</p><p></p><p>I have a table with a custom header. The header is made of two rows that allow for parent headers and sub-headers.</p><p> </p><p>ColA, ColB &amp; ColC are the first 3 col headers and span both header rows.</p><p> </p><p>ColD is a parent header spanning 3 cols under it: cols 1, 2 &amp; 3.</p><p> </p><p>ColE, ColF and ColG are the last 3 col headers and span both header rows.</p><p> </p><p>Thus I have 9 columns bound to a table in a DataSet.</p><p> </p><p>I want to allow the grid to be sortable via Cols A, B, C, 1, 2, 3, E, F and G. Col D is a parent-header and does not sort the grid.</p><p> </p><p>I can find samples building custom headers with sub-headers but NONE show how these same headers (and sub-headers) can be built to sort a grid as well.</p><p></p><p>Please point me at whatever sample(s) you migh know of or have...</p><p></p><p>Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/blmiles.jpg?forceidenticon=false&amp;dt=635072742600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>