<?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: Bulk Edit Grid View</title>
	<atom:link href="http://blog.nicocrm.com/2007/11/23/bulk-edit-grid-view/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nicocrm.com/2007/11/23/bulk-edit-grid-view/</link>
	<description>Programming, technology, and CRM - from a Belgian programmer exiled to Missouri</description>
	<lastBuildDate>Thu, 21 Jul 2011 10:53:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Nicolas Galler</title>
		<link>http://blog.nicocrm.com/2007/11/23/bulk-edit-grid-view/comment-page-1/#comment-828</link>
		<dc:creator>Nicolas Galler</dc:creator>
		<pubDate>Thu, 20 Jan 2011 02:57:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chivinou.net/?p=20#comment-828</guid>
		<description>@alex Sorry for the late reply.  The BulkEditGridViewMixin would go in the App_Code as well.  I think overriding the OnRowUpdating sounds like a good approach though as I just noted if the Update command is expensive you may find this gives the grid a poor performance (because it will be called even when the user is just sorting the grid).  I am not 100% sure about the auto generated field but I don&#039;t think that should influence the result either, you should be OK with those.

Be sure to review the original post from Matt Dotson as well as he explains the essential parts in a lot more details than I did!</description>
		<content:encoded><![CDATA[<p>@alex Sorry for the late reply.  The BulkEditGridViewMixin would go in the App_Code as well.  I think overriding the OnRowUpdating sounds like a good approach though as I just noted if the Update command is expensive you may find this gives the grid a poor performance (because it will be called even when the user is just sorting the grid).  I am not 100% sure about the auto generated field but I don&#8217;t think that should influence the result either, you should be OK with those.</p>
<p>Be sure to review the original post from Matt Dotson as well as he explains the essential parts in a lot more details than I did!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas Galler</title>
		<link>http://blog.nicocrm.com/2007/11/23/bulk-edit-grid-view/comment-page-1/#comment-827</link>
		<dc:creator>Nicolas Galler</dc:creator>
		<pubDate>Thu, 20 Jan 2011 02:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chivinou.net/?p=20#comment-827</guid>
		<description>@john the main thing that prevents that is the SaveGrid in the Grid.DataBinding event - this caused the data to be saved before being requeried.  If you have a &quot;connected&quot; datasource though, such that an Update call will actually cause a trip to the DB, this implementation is probably not going to be very good performance-wise.  In my case this was a fully disconnected data source so the calls to Update were practically free.</description>
		<content:encoded><![CDATA[<p>@john the main thing that prevents that is the SaveGrid in the Grid.DataBinding event &#8211; this caused the data to be saved before being requeried.  If you have a &#8220;connected&#8221; datasource though, such that an Update call will actually cause a trip to the DB, this implementation is probably not going to be very good performance-wise.  In my case this was a fully disconnected data source so the calls to Update were practically free.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://blog.nicocrm.com/2007/11/23/bulk-edit-grid-view/comment-page-1/#comment-826</link>
		<dc:creator>john</dc:creator>
		<pubDate>Mon, 10 Jan 2011 09:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chivinou.net/?p=20#comment-826</guid>
		<description>How to retain the values during postback. I always get this values geting replaced from db. Please suggest</description>
		<content:encoded><![CDATA[<p>How to retain the values during postback. I always get this values geting replaced from db. Please suggest</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://blog.nicocrm.com/2007/11/23/bulk-edit-grid-view/comment-page-1/#comment-689</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 25 May 2010 15:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chivinou.net/?p=20#comment-689</guid>
		<description>Hi,  I was looking for a solution to have bulk edit gridview without having it to Inherit from Gridview control directly and your solution seems to fit the profile.
Unfortunately I am pretty rusty when it comes to front end development as I have been doing backend work for past 5 years.
I have an existing code that I have to modify to implement bulk edit functionality, This code uses a User Control that in itself has a GridView control among other things.  Some of the events and methods of this GridView are then overridden  in order to implement custom formatting of rows, etc...
I&#039;m not sure how to implement your solution in my case. 

 As I understood, the first part of your code is a standard class that inherits from GridView and I should put it in the App_Code folder.  Now, the rest is a bit more confusing to me, where do I reference the bulk edit user control, do I replace my existing control with it? 
In the aspx code in my case where it references the custom use control I cannot see the BulkEditGridViewMixin, how can I reference it properly.
I also cannot define the bound fields at the aspx level, as they are created at run time from an sqldatasource for formating and for creation of some hidden fields.
Lastly, for the update of the data (push back) I need to utilize a business component/module already in place, so I was planning on Overriding the Grid_OnRowUpdating and canceling the sql&#039;s default update command and instead calling my own method to validate and push data back.
I know this is a lot of info and probably too confusing to understand, but if you have any suggestions they will be appreciated!
Thanks

Alex</description>
		<content:encoded><![CDATA[<p>Hi,  I was looking for a solution to have bulk edit gridview without having it to Inherit from Gridview control directly and your solution seems to fit the profile.<br />
Unfortunately I am pretty rusty when it comes to front end development as I have been doing backend work for past 5 years.<br />
I have an existing code that I have to modify to implement bulk edit functionality, This code uses a User Control that in itself has a GridView control among other things.  Some of the events and methods of this GridView are then overridden  in order to implement custom formatting of rows, etc&#8230;<br />
I&#8217;m not sure how to implement your solution in my case. </p>
<p> As I understood, the first part of your code is a standard class that inherits from GridView and I should put it in the App_Code folder.  Now, the rest is a bit more confusing to me, where do I reference the bulk edit user control, do I replace my existing control with it?<br />
In the aspx code in my case where it references the custom use control I cannot see the BulkEditGridViewMixin, how can I reference it properly.<br />
I also cannot define the bound fields at the aspx level, as they are created at run time from an sqldatasource for formating and for creation of some hidden fields.<br />
Lastly, for the update of the data (push back) I need to utilize a business component/module already in place, so I was planning on Overriding the Grid_OnRowUpdating and canceling the sql&#8217;s default update command and instead calling my own method to validate and push data back.<br />
I know this is a lot of info and probably too confusing to understand, but if you have any suggestions they will be appreciated!<br />
Thanks</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas Galler</title>
		<link>http://blog.nicocrm.com/2007/11/23/bulk-edit-grid-view/comment-page-1/#comment-468</link>
		<dc:creator>Nicolas Galler</dc:creator>
		<pubDate>Fri, 11 Dec 2009 16:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chivinou.net/?p=20#comment-468</guid>
		<description>Fixed it - thanks for the heads up!</description>
		<content:encoded><![CDATA[<p>Fixed it &#8211; thanks for the heads up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Travis</title>
		<link>http://blog.nicocrm.com/2007/11/23/bulk-edit-grid-view/comment-page-1/#comment-467</link>
		<dc:creator>Travis</dc:creator>
		<pubDate>Wed, 09 Dec 2009 14:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chivinou.net/?p=20#comment-467</guid>
		<description>The link for the code seems to be broken?</description>
		<content:encoded><![CDATA[<p>The link for the code seems to be broken?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas Galler</title>
		<link>http://blog.nicocrm.com/2007/11/23/bulk-edit-grid-view/comment-page-1/#comment-10</link>
		<dc:creator>Nicolas Galler</dc:creator>
		<pubDate>Mon, 24 Dec 2007 21:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chivinou.net/?p=20#comment-10</guid>
		<description>No problem, I posted the code &lt;a HREF=&quot;http://blog.nicocrm.com/2007/12/24/code-for-the-bulk-edit-grid-view/&quot; REL=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, hope this can be of help!</description>
		<content:encoded><![CDATA[<p>No problem, I posted the code <a HREF="http://blog.nicocrm.com/2007/12/24/code-for-the-bulk-edit-grid-view/" REL="nofollow" rel="nofollow">here</a>, hope this can be of help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.nicocrm.com/2007/11/23/bulk-edit-grid-view/comment-page-1/#comment-9</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 24 Dec 2007 19:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chivinou.net/?p=20#comment-9</guid>
		<description>Is the revised code available?</description>
		<content:encoded><![CDATA[<p>Is the revised code available?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

