<?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>Sun, 29 Jan 2012 06:11:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<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>
	<item>
		<title>By: Pradeep</title>
		<link>http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/comment-page-1/#comment-1111</link>
		<dc:creator>Pradeep</dc:creator>
		<pubDate>Fri, 29 Apr 2011 11:40:51 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1111</guid>
		<description>Hi Kit Menke,
Thanks a lot for the article.
It worked fine after small change in first part.</description>
		<content:encoded><![CDATA[<p>Hi Kit Menke,<br />
Thanks a lot for the article.<br />
It worked fine after small change in first part.</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-1110</link>
		<dc:creator>Kit</dc:creator>
		<pubDate>Thu, 28 Apr 2011 13:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1110</guid>
		<description>Ahmed,

Yes there will probably be some changes required for lookup fields depending on your requirements (ex: display column in a dropdown?). I think you&#039;ll probably want to take a look at using a TemplateField instead of a BoundField.

Thanks,
Kit</description>
		<content:encoded><![CDATA[<p>Ahmed,</p>
<p>Yes there will probably be some changes required for lookup fields depending on your requirements (ex: display column in a dropdown?). I think you&#8217;ll probably want to take a look at using a TemplateField instead of a BoundField.</p>
<p>Thanks,<br />
Kit</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-1109</link>
		<dc:creator>ahmed</dc:creator>
		<pubDate>Thu, 28 Apr 2011 10:24:14 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1109</guid>
		<description>Hi , thanks for this Tuo , If i have a lookup field , theres is any changements to do ? thanks</description>
		<content:encoded><![CDATA[<p>Hi , thanks for this Tuo , If i have a lookup field , theres is any changements to do ? thanks</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-1084</link>
		<dc:creator>Kit</dc:creator>
		<pubDate>Wed, 16 Mar 2011 01:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=198#comment-1084</guid>
		<description>Nicholas,
You can use the BoundField &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.boundfield.dataformatstring.aspx&quot; rel=&quot;nofollow&quot;&gt;DataFormatString&lt;/a&gt; property. For example, you would change SimpleLogic&#039;s GetColumns function:

[cc lang=&quot;csharp&quot; escaped=&quot;true&quot;]BoundField sales = GetBoundField(&quot;Total_x0020_Sales&quot;);
sales.DataFormatString = &quot;{0:C}&quot;;
fields.Add(sales);[/cc]

Thanks,
Kit</description>
		<content:encoded><![CDATA[<p>Nicholas,<br />
You can use the BoundField <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.boundfield.dataformatstring.aspx" rel="nofollow">DataFormatString</a> property. For example, you would change SimpleLogic&#8217;s GetColumns function:</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">BoundField sales <span style="color: #008000;">=</span> GetBoundField<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Total_x0020_Sales&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
sales<span style="color: #008000;">.</span><span style="color: #0000FF;">DataFormatString</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;{0:C}&quot;</span><span style="color: #008000;">;</span><br />
fields<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span>sales<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></div></div>
<p>Thanks,<br />
Kit</p>
]]></content:encoded>
	</item>
</channel>
</rss>

