﻿<?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 - Undo changes from client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Undochanges/</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>Undo changes from client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Undochanges/</link><pubDate>Thu, 10 Sep 2009 22:45:33 GMT</pubDate><dc:creator>Dicky</dc:creator><category>Undo changes</category><description>&lt;p&gt;Hi Zahid,&lt;/p&gt;&lt;p&gt;I suggest you to manage this in WebGrid level using this way:&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function Button1_onclick()
{
    var grid = ISGetObject("WebGrid1");
    grid.UndoAllChanges();
}&lt;/pre&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Undo changes from client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Undochanges/</link><pubDate>Thu, 10 Sep 2009 10:41:10 GMT</pubDate><dc:creator>Zahid</dc:creator><category>Undo changes</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I need to undo all changes With batch update enabled. This is what i did ...&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;ISGetObject("WebGrid1").RootTable.UndoChanges(true)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;This restores the changes from the grid but the 'Review panel' in status bar still shows ' X  Pending Change(s)'. It should be '0 Pending Change(s)'.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;How can i refresh 'Review Panel'?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Zahid&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>