﻿<?xml version="1.0" encoding="utf-8"?><rss 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" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - how to process batch updates in one transaction for two grids?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-process-batch-updates-in-one-transaction-for-two-grids/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>how to process batch updates in one transaction for two grids?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-process-batch-updates-in-one-transaction-for-two-grids/</link><pubDate>Mon, 11 Oct 2010 06:07:13 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I am not sure what you referred to. Our customer never reported something about inconsistency data. They run well without this problem. So, I am pretty sure that it would not cause that problem.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>how to process batch updates in one transaction for two grids?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-process-batch-updates-in-one-transaction-for-two-grids/</link><pubDate>Sat, 09 Oct 2010 09:39:40 GMT</pubDate><dc:creator>progame</dc:creator><description>&lt;p&gt;I'm confused why others can user it in diff process, thus will broke data consistency.&lt;/p&gt;</description></item><item><title>how to process batch updates in one transaction for two grids?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-process-batch-updates-in-one-transaction-for-two-grids/</link><pubDate>Fri, 08 Oct 2010 00:33:00 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Unfortunately, this cannot be done. Each control should have their own process.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>how to process batch updates in one transaction for two grids?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-process-batch-updates-in-one-transaction-for-two-grids/</link><pubDate>Wed, 06 Oct 2010 22:22:42 GMT</pubDate><dc:creator>progame</dc:creator><description>&lt;p&gt;but i need them in one process, one transaction to keep data consistency.&lt;img style="border-bottom: medium none; border-left: medium none; border-top: medium none; border-right: medium none" src="http://www.intersoftpt.com/WebResources/Images/Community/Editor/smiley8.gif" /&gt; &lt;/p&gt;</description></item><item><title>how to process batch updates in one transaction for two grids?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-process-batch-updates-in-one-transaction-for-two-grids/</link><pubDate>Wed, 06 Oct 2010 05:48:27 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;If you have more than one WebGrid inside the page, you need to handle each of them in BatchUpdate scenario.&lt;br /&gt;Currently, you can also accept the changes via client side. Each of the control run the process separately because they do not have the same process.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>how to process batch updates in one transaction for two grids?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-process-batch-updates-in-one-transaction-for-two-grids/</link><pubDate>Tue, 05 Oct 2010 07:24:14 GMT</pubDate><dc:creator>progame</dc:creator><description>&lt;p&gt;i'm afraid of it's transfered data size in this case. and can do it in MVC page?&lt;/p&gt;</description></item><item><title>how to process batch updates in one transaction for two grids?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-process-batch-updates-in-one-transaction-for-two-grids/</link><pubDate>Tue, 05 Oct 2010 00:30:13 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I am sorry but it seems you missunderstood what I tried to say.&lt;br /&gt;Please see my attached sample. &lt;br /&gt;Even though It is not using BatchUpdate scenario, you can see that I edit or insert by using a form. &lt;br /&gt;Form collection data could not just directly be used like that. &lt;br /&gt;How can WebGrid recognize that field if you don't validate and assign any of form field collection information?&lt;br /&gt;You must assign that information into WebGrid.&lt;br /&gt;Also, You still need to perform each WebGrid. I still don't quite understand about what one transaction definition that you refered. I assume that called those functions from a button click can be also said as one transaction.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>how to process batch updates in one transaction for two grids?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-process-batch-updates-in-one-transaction-for-two-grids/</link><pubDate>Mon, 04 Oct 2010 10:47:49 GMT</pubDate><dc:creator>progame</dc:creator><description>&lt;p&gt;1. if can't collect data into formcollection, it means WebGrid  can't support MVC for edit.&lt;/p&gt;
&lt;p&gt;2.   &lt;b&gt;WebGrid1.PerformBatchUpdate(true,true);&lt;/b&gt;  &lt;b&gt;WebGrid2.PerformBatchUpdate(true,true);&lt;/b&gt;&lt;br /&gt;it's two call, still not in one transaction, that's inaccessible for enterprise application.&lt;img style="border-bottom: medium none; border-left: medium none; border-top: medium none; border-right: medium none" src="http://www.intersoftpt.com/WebResources/Images/Community/Editor/smiley10.gif" /&gt; &lt;/p&gt;</description></item><item><title>how to process batch updates in one transaction for two grids?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-process-batch-updates-in-one-transaction-for-two-grids/</link><pubDate>Mon, 04 Oct 2010 00:19:05 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Do you mean that all changes (update, delete and insert) are using a form? Then with after input the information from this form collection, you want to Accept or process the batch update?&lt;br /&gt;&lt;br /&gt;I think it is not possible. All input from your form collection, should be integrated into our WebGrid before can accept/process the batch updates in server.&lt;br /&gt;In order to this scenario, you would need send your form information into WebGrid via javascript.&lt;br /&gt;&lt;br /&gt;e.g Insert a new row scenario. newRow.Update();&lt;br /&gt;&lt;br /&gt;With this way, WebGrid should able to recognize what changes has been made from your form collection.&lt;br /&gt;After that, you can accept that process via button click (serverside).&lt;br /&gt;e.g,  &lt;b&gt;WebGrid1.PerformBatchUpdate(true,true);&lt;/b&gt;  &lt;b&gt;WebGrid2.PerformBatchUpdate(true,true);&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>how to process batch updates in one transaction for two grids?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-process-batch-updates-in-one-transaction-for-two-grids/</link><pubDate>Sun, 03 Oct 2010 05:44:01 GMT</pubDate><dc:creator>progame</dc:creator><description>&lt;p style="text-align:left"&gt;can i post all changes with formcollection in MVC page, and process them in server side?&lt;/p&gt;</description></item></channel></rss>