<?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: Editing in SharePoint&#8217;s SPGridView</title>
	<atom:link href="http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/feed/" rel="self" type="application/rss+xml" />
	<link>http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/</link>
	<description>Experiences with SharePoint, web development, and programming</description>
	<lastBuildDate>Thu, 17 May 2012 23:27:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Kit</title>
		<link>http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/comment-page-1/#comment-1535</link>
		<dc:creator>Kit</dc:creator>
		<pubDate>Thu, 16 Feb 2012 18:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1535</guid>
		<description>Actually, I found another post which may be more helpful for you: http://suehernandez.wordpress.com/2009/07/07/moss-spgridview-with-checkbox-column/

Check out the cmdSubmit_Click function on that page. You can iterate over the rows in your grid to get the Checkbox control:
foreach (GridViewRow row in gridView.Rows)
{
   CheckBox cb = row.Cells[0].Controls[0] as CheckBox;
   // do something...
}

Remember, we separated our business logic out into the SimpleLogic class which is why the grid is not available there. This means, that you need to call SimpleLogic from your grid class. If you&#039;re trying to pass a value from the checkboxes, you&#039;ll need to get that data on a postback and then call SimpleLogic with those arguments.</description>
		<content:encoded><![CDATA[<p>Actually, I found another post which may be more helpful for you: <a href="http://suehernandez.wordpress.com/2009/07/07/moss-spgridview-with-checkbox-column/" rel="nofollow">http://suehernandez.wordpress.com/2009/07/07/moss-spgridview-with-checkbox-column/</a></p>
<p>Check out the cmdSubmit_Click function on that page. You can iterate over the rows in your grid to get the Checkbox control:<br />
foreach (GridViewRow row in gridView.Rows)<br />
{<br />
   CheckBox cb = row.Cells[0].Controls[0] as CheckBox;<br />
   // do something&#8230;<br />
}</p>
<p>Remember, we separated our business logic out into the SimpleLogic class which is why the grid is not available there. This means, that you need to call SimpleLogic from your grid class. If you&#8217;re trying to pass a value from the checkboxes, you&#8217;ll need to get that data on a postback and then call SimpleLogic with those arguments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richter</title>
		<link>http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/comment-page-1/#comment-1534</link>
		<dc:creator>Richter</dc:creator>
		<pubDate>Thu, 16 Feb 2012 06:45:36 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1534</guid>
		<description>Thanks Kit, i created a checkbox field now following that link., how can i check if the checkbox is check? i cannot see _grid in the SimpleLogic class.</description>
		<content:encoded><![CDATA[<p>Thanks Kit, i created a checkbox field now following that link., how can i check if the checkbox is check? i cannot see _grid in the SimpleLogic class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kit</title>
		<link>http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/comment-page-1/#comment-1533</link>
		<dc:creator>Kit</dc:creator>
		<pubDate>Wed, 15 Feb 2012 17:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1533</guid>
		<description>Richter,
As I mentioned earlier, take a look at TemplateField: http://www.reversealchemy.net/blog/2009/07/08/building-a-spgridview-control-intermezzo-templatefields-and-the-rowcommand-event/
Thanks,
Kit</description>
		<content:encoded><![CDATA[<p>Richter,<br />
As I mentioned earlier, take a look at TemplateField: <a href="http://www.reversealchemy.net/blog/2009/07/08/building-a-spgridview-control-intermezzo-templatefields-and-the-rowcommand-event/" rel="nofollow">http://www.reversealchemy.net/blog/2009/07/08/building-a-spgridview-control-intermezzo-templatefields-and-the-rowcommand-event/</a><br />
Thanks,<br />
Kit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richter</title>
		<link>http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/comment-page-1/#comment-1532</link>
		<dc:creator>Richter</dc:creator>
		<pubDate>Tue, 14 Feb 2012 08:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1532</guid>
		<description>It works when i tried it. But how can i insert a checkbox field in the gridview?</description>
		<content:encoded><![CDATA[<p>It works when i tried it. But how can i insert a checkbox field in the gridview?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kit</title>
		<link>http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/comment-page-1/#comment-1528</link>
		<dc:creator>Kit</dc:creator>
		<pubDate>Wed, 25 Jan 2012 14:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1528</guid>
		<description>Vamshi,
You simply could redirect back to the same page and re-query the data from the list? This would refresh your grid. It is hard to tell what you&#039;re doing without code, so I would recommend asking a question on &lt;a href=&quot;http://sharepoint.stackexchange.com/&quot; title=&quot;http://sharepoint.stackexchange.com/&quot; rel=&quot;nofollow&quot;&gt;http://sharepoint.stackexchange.com/&lt;/a&gt;
Thanks,
Kit</description>
		<content:encoded><![CDATA[<p>Vamshi,<br />
You simply could redirect back to the same page and re-query the data from the list? This would refresh your grid. It is hard to tell what you&#8217;re doing without code, so I would recommend asking a question on <a href="http://sharepoint.stackexchange.com/" title="http://sharepoint.stackexchange.com/" rel="nofollow">http://sharepoint.stackexchange.com/</a><br />
Thanks,<br />
Kit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vamshi</title>
		<link>http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/comment-page-1/#comment-1525</link>
		<dc:creator>vamshi</dc:creator>
		<pubDate>Fri, 20 Jan 2012 11:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1525</guid>
		<description>hi friend am new to sharepoint 
i insert the data in to sharepoint list when i click on the submit how i to display the that inserted data  in gridview please help me </description>
		<content:encoded><![CDATA[<p>hi friend am new to sharepoint <br />
i insert the data in to sharepoint list when i click on the submit how i to display the that inserted data  in gridview please help me </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ches</title>
		<link>http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/comment-page-1/#comment-1217</link>
		<dc:creator>Ches</dc:creator>
		<pubDate>Thu, 15 Sep 2011 05:22:59 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1217</guid>
		<description>&lt;strong&gt;Very very slick.

&lt;/strong&gt;Thank you very very much
&lt;strong&gt;   &lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>Very very slick.</p>
<p></strong>Thank you very very much<br />
<strong>   </strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kit</title>
		<link>http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/comment-page-1/#comment-1114</link>
		<dc:creator>Kit</dc:creator>
		<pubDate>Fri, 29 Apr 2011 23:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1114</guid>
		<description>&lt;p&gt;Ahmed,&lt;/p&gt;
&lt;p&gt;I think you&#039;re talking about the ability to add new items? If so, the easiest method is to just place the controls underneath the grid (instead of actually making it a part of the grid (&lt;a href=&quot;#comment-1038&quot; rel=&quot;nofollow&quot;&gt;similar comment&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Pradeep,&lt;/p&gt;
&lt;p&gt;The updates would be pretty similar. However, the real problem is displaying the data in the SPGridView. You&#039;d probably want to use a people picker control:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://vspug.com/dwise/2008/05/01/inside-the-sharepoint-people-picker/&quot; rel=&quot;nofollow&quot;&gt;http://vspug.com/dwise/2008/05/01/inside-the-sharepoint-people-picker/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks,
Kit&lt;/p&gt;
&lt;p&gt;P.S.  I would encourage you guys to post questions to &lt;a href=&quot;http://sharepoint.stackexchange.com/&quot; rel=&quot;nofollow&quot;&gt;http://sharepoint.stackexchange.com/&lt;/a&gt;. It is a great community for asking SharePoint related questions.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Ahmed,</p>
<p>I think you&#8217;re talking about the ability to add new items? If so, the easiest method is to just place the controls underneath the grid (instead of actually making it a part of the grid (<a href="#comment-1038" rel="nofollow">similar comment</a>).</p>
<p>Pradeep,</p>
<p>The updates would be pretty similar. However, the real problem is displaying the data in the SPGridView. You&#8217;d probably want to use a people picker control:</p>
<p><a href="http://vspug.com/dwise/2008/05/01/inside-the-sharepoint-people-picker/" rel="nofollow">http://vspug.com/dwise/2008/05/01/inside-the-sharepoint-people-picker/</a></p>
<p>Thanks,<br />
Kit</p>
<p>P.S.  I would encourage you guys to post questions to <a href="http://sharepoint.stackexchange.com/" rel="nofollow">http://sharepoint.stackexchange.com/</a>. It is a great community for asking SharePoint related questions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ahmed</title>
		<link>http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/comment-page-1/#comment-1113</link>
		<dc:creator>ahmed</dc:creator>
		<pubDate>Fri, 29 Apr 2011 19:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1113</guid>
		<description>Thanks Kit , it work with lookup filed also without probléme , can i insert in spgridview and add a new ligne in my grid ? thanks a lot for your time and help :)</description>
		<content:encoded><![CDATA[<p>Thanks Kit , it work with lookup filed also without probléme , can i insert in spgridview and add a new ligne in my grid ? thanks a lot for your time and help <img src='http://kitmenke.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pradeep</title>
		<link>http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/comment-page-1/#comment-1112</link>
		<dc:creator>Pradeep</dc:creator>
		<pubDate>Fri, 29 Apr 2011 14:03:04 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1112</guid>
		<description>Hi Kit,
I&#039;ve another column in the List say &quot;Manager&quot; and it&#039;s a People Picker.
Then, how do I update it in the GridView webpart.
Thanks</description>
		<content:encoded><![CDATA[<p>Hi Kit,<br />
I&#8217;ve another column in the List say &#8220;Manager&#8221; and it&#8217;s a People Picker.<br />
Then, how do I update it in the GridView webpart.<br />
Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

