﻿<?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 - Intersoft Studio 2014 -  Web grid 8.0.7200.259 Delete/Paste not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Intersoft-Studio-2014---Web-grid-807200259-DeletePaste-not-working/</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>Intersoft Studio 2014 -  Web grid 8.0.7200.259 Delete/Paste not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Intersoft-Studio-2014---Web-grid-807200259-DeletePaste-not-working/</link><pubDate>Mon, 23 Jun 2014 04:10:48 GMT</pubDate><dc:creator>Hans</dc:creator><description>Hello,&lt;br&gt;&lt;br&gt;Sorry for any inconvenience this problem may have caused you.&lt;br&gt;&lt;br&gt;WebGrid development team has managed to resolve the reported problem. A nightly build (pre-release hotfix) has been available and can be downloaded from following:&lt;br&gt;&lt;br&gt;WebGrid 8 nightly build, https://onedrive.live.com/download?resid=A29317908CEA783A%21402&lt;br&gt;&lt;br&gt;WebUI.NET Framework 3.0 nightly build, https://onedrive.live.com/download?resid=A29317908CEA783A%21403&lt;br&gt;&lt;br&gt;After download the hotfix, carefully follow the step by step explained in https://www.intersoftpt.com/Support/WebUIStudio/Tutorial/Text/Apply-ASPNET-product-hotfix-manually/.&lt;br&gt;&lt;br&gt;If the problem still persist, please feel free to let us know.&lt;br&gt;&lt;br&gt;Note: the uploaded assemblies are nightly build and was not tested for regression. We hope you can collaborate and test it in your projects.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.</description></item><item><title>Intersoft Studio 2014 -  Web grid 8.0.7200.259 Delete/Paste not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Intersoft-Studio-2014---Web-grid-807200259-DeletePaste-not-working/</link><pubDate>Fri, 20 Jun 2014 14:13:10 GMT</pubDate><dc:creator>sachinj</dc:creator><description>&lt;p&gt;&lt;span face="Times New Roman" size="3"&gt;

&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 8pt;"&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;&lt;span face="Calibri" size="3"&gt;Hi Hans, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Times New Roman" size="3"&gt;

&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 8pt;"&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;&lt;span face="Calibri" size="3"&gt;Have you hear back from the development team? It has been over a week and we are still waiting for a fix.&amp;nbsp; This
bug has been giving us lot of issues in the production environment. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Times New Roman" size="3"&gt;

&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 8pt;"&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;&lt;span face="Calibri" size="3"&gt;Please let me know when can we
expect to see a resolution. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Times New Roman" size="3"&gt;

&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 8pt;"&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;&lt;span face="Calibri" size="3"&gt;Thanks.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 8pt;"&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;&lt;span face="Calibri" size="3"&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 8pt;"&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;&lt;span face="Calibri" size="3"&gt;Sachin&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Intersoft Studio 2014 -  Web grid 8.0.7200.259 Delete/Paste not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Intersoft-Studio-2014---Web-grid-807200259-DeletePaste-not-working/</link><pubDate>Fri, 13 Jun 2014 00:34:41 GMT</pubDate><dc:creator>Hans</dc:creator><description>Hello,&lt;br&gt;&lt;br&gt;Thank you for the reply and sample.&lt;br&gt;&lt;br&gt;This issue has been forwarded to the developer team.&lt;br&gt;I will let you know if there is an update regarding this issue.&lt;br&gt;&lt;br&gt;I apologize for the inconvenience.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.</description></item><item><title>Intersoft Studio 2014 -  Web grid 8.0.7200.259 Delete/Paste not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Intersoft-Studio-2014---Web-grid-807200259-DeletePaste-not-working/</link><pubDate>Thu, 12 Jun 2014 21:08:20 GMT</pubDate><dc:creator>sachinj</dc:creator><description>&lt;p&gt;Hans,&lt;/p&gt;&lt;p&gt;This crash is happening when the update is set as Batch Update. You can see this crash message on any intersoft sample include the samples and live demo at &lt;a href="http://live.intersoftpt.com/"&gt;http://live.intersoftpt.com/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Just try to delete the row from the grid where Batch update is enabled and it will crash and will not delete the row. We have tried the crash on muliple browsers including IE11, Chrome and FireFox and it is crashing quite consistently. &lt;/p&gt;&lt;p&gt;This is a major bug that seems to have slipped the testing. Please provide a fix ASAP as it is leading to a lot of isssues in our application. &lt;/p&gt;&lt;p&gt;Sachin &lt;br&gt;&lt;/p&gt;&lt;p&gt;PS: Attached is a Batch Update sample from Intersoft installation that can be used to test the issue. The crash is occuring using the latest version of webgrid dlls.&lt;br&gt;&lt;/p&gt;</description></item><item><title>Intersoft Studio 2014 -  Web grid 8.0.7200.259 Delete/Paste not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Intersoft-Studio-2014---Web-grid-807200259-DeletePaste-not-working/</link><pubDate>Thu, 12 Jun 2014 00:13:18 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;div&gt;Hello,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I apologize for any inconvenience this problem may have caused you.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I made a web page and added WebGrid to the page. I bind the WebGrid with access data source (Northwind.mdb and Shippers table).&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I run the page in Internet Explorer 11 browser and Chrome 35 browser, then I tried to delete a row.&lt;/div&gt;&lt;div&gt;However I didn’t get any error message like yours.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I attached the page, please kindly have review on the page and let me know if there is configuration that I missed on the WebGrid.&lt;/div&gt;&lt;div&gt;I attached a video regarding the result on my end.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;If you also can get the sample and video from this link: http://1drv.ms/1s7etKV&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thank you.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Hans K.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;</description></item><item><title>Intersoft Studio 2014 -  Web grid 8.0.7200.259 Delete/Paste not working</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Intersoft-Studio-2014---Web-grid-807200259-DeletePaste-not-working/</link><pubDate>Tue, 10 Jun 2014 11:49:42 GMT</pubDate><dc:creator>ravinder</dc:creator><description>&lt;p style="LINE-HEIGHT: normal; MARGIN: 0in 0in 15pt; WORD-BREAK: break-all" class=MsoNormal&gt;&lt;span style="FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;Hi,&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="LINE-HEIGHT: normal; MARGIN: 0in 0in 15pt; WORD-BREAK: break-all" class=MsoNormal&gt;&lt;span style="FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;We have upgraded to Intersoft Studio 2014. Our grid version is 8.0.7200.259. However, after upgrading we are unable to delete/Paste&amp;nbsp;rows&amp;nbsp;any row from the grid. Hitting the delete or pasting the rows&amp;nbsp;gives us the following java script error -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;span style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;span face=Calibri&gt;Unhandled exception at line 1, column 3427 in &lt;/span&gt;&lt;a href="http://localhost/%5bmysite%5d/ISRes.axd?G/WebGrid_Core2.js/807200259"&gt;&lt;span style="COLOR: blue"&gt;&lt;span face=Calibri&gt;http://localhost/[mysite]/ISRes.axd?G/WebGrid_Core2.js/807200259&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;span style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;span face=Calibri&gt;&lt;span style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'"&gt;0x800a138f - JavaScript runtime error: Unable to get property 'length' of undefined or null reference&lt;/span&gt;&lt;span style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="LINE-HEIGHT: normal; MARGIN: 0in 0in 15pt; WORD-BREAK: break-all" class=MsoNormal&gt;&lt;span style="FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;I&amp;nbsp;error is coming in the java script code at : &lt;/span&gt;&lt;B&gt;&lt;span style="FONT-FAMILY: Consolas; BACKGROUND: yellow; COLOR: black; FONT-SIZE: 12pt; mso-highlight: yellow"&gt;c&amp;lt;a.Data.length&lt;/span&gt;&lt;/B&gt;&lt;span style="FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="LINE-HEIGHT: normal; MARGIN: 0in 0in 15pt; WORD-BREAK: break-all" class=MsoNormal&gt;&lt;span style="FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;Below is the complete java script code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="LINE-HEIGHT: normal; MARGIN: 0in 0in 15pt; WORD-BREAK: break-all" class=MsoNormal&gt;&lt;B&gt;&lt;span style="FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-size: 11.0pt"&gt;Please let us know what needs to be done to support these functionalites working in our application.&lt;/span&gt;&lt;/B&gt;&lt;span style="FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="LINE-HEIGHT: normal; MARGIN: 0in 0in 15pt; WORD-BREAK: break-all" class=MsoNormal&gt;&lt;span style="FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;Thanks,&lt;br&gt;Ravinder&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;pRE&gt;function WebGridPersistedRows(){this._Type="WebGridPersistedRows";IWebGridPersistence.call(this);this.Table=null;this.Items=new Array();this.GetKeyValueString=function(a){if(this.Table==null){return}return WG50Engine.GetKeyValueString(this.Table,a)};this.Remove=function(b){if(this.Items.length==0||this.Table==null){return}var a=this.IndexOf(this.GetKeyValueString(b));if(a&amp;gt;-1){this.Items.splice(a,1)}};this.Add=function(d){var c=WG50Engine.GetTable(d);var a=null;var b=null;if(!this.IsRowValid(d)){return}if(c!=null){a=wgGetGridById(c.gridId);b=a.Tables[c.tblName]}if(this.Table==null){this.Table=b}this.Items.push(this.GetKeyValueString(d))};this.IsRowValid=function(a){if(a==null||a.parentElement==null||a.parentElement.parentElement==null){return false}return true};this.Contains=function(b){for(var a=0;a&amp;lt;this.Items.length;a++){if(this.Items[a]==this.GetKeyValueString(b)){return true}}return false};this.IndexOf=function(b){for(var a=0;a&amp;lt;this.Items.length;a++){if(this.Items[a]==b){return a}}return -1};this.SerializeToXml=function(){if(this.Items.length==0){return null}var a=this.Table.GetGrid();var e=a.XmlDt;var d=this.Table.XmlNode;var c=ISXml.CreateNodeOnly(e,"SelectedRows","");for(var b=0;b&amp;lt;this.Items.length;b++){ISXml.CreateCDATA(e,c,"Item",this.Items[b])}return c};this.Deserialize=function(d){for(var a=0;a&amp;lt;d.childNodes.length;a++){var c=d.childNodes[a].text;var e=c.split("\06");for(var b=0;b&amp;lt;e.length;b++){this.Items.push(e[b])}}};this.RefreshUI=function(f){var g;var a=this.Table.Grid;if(this.Table.IsRootTable){g=this.Table}else{g=f}if(a.LayoutSettings.RestoreRowSelection=="Disabled"){return}if(!g){return}var h=g.GetElement(WG40.BODY,WG40.HTMLTABLE);var e=h.rows;for(var b=0;b&amp;lt;e.length;b++){var d=e[b];if(wgIsRecordRow(d)){for(var c=0;c&amp;lt;this.Items.length;c++){if(this.GetKeyValueString(d)==this.Items[c]){this.Table.SelectedRows.push(d);WGEventEngine.RedrawSelectedRowBorder(d,"CheckedRow",false,true);if(this.Table.GetRowCheckerColumn()!=""){this.Table.ToRowObject(d).Check()}}}}}};this.Clear=function(){this.Items=new Array()}}function WebGridPersistedChildRows(){this._Type="WebGridPersistedChildRows";WebGridPersistedRows.call(this);this.SerializeToXml=function(){if(this.Items.length==0){return null}var a=this.Table.GetGrid();var e=a.XmlDt;var d=this.Table.XmlNode;var c=ISXml.CreateNodeOnly(e,"ChildRows","");for(var b=0;b&amp;lt;this.Items.length;b++){ISXml.CreateCDATA(e,c,"Item",this.Items[b])}return c};this.RefreshUI=function(a){}}function WebGridBatchUpdateSettings(){this._Type="WebGridBatchUpdateSettings";ISObject.call(this);this.AllowReviewChanges=false;this.AllowUndoChanges=true;this.AutomaticObjectUpdate=true;this.PromptOnUndoAllChanges=true;this.NotifyOnLostFocus=false;this.HighlightChanges=true;this.PromptUnsavedChanges=true}function WebGridBatchPendingChanges(){this._Type="WebGridBatchPendingChanges";IWebGridPersistence.call(this);this.Table=null;this.Items=new Array();this.GetKeyValueString=function(a){return WG50Engine.GetKeyValueString(this.Table,a)};this.Remove=function(a){var b=this.IndexOf(a);if(b&amp;gt;-1){this.Items.splice(b,1)}};this.Add=function(a){this.Items.push(a)};this.Get=function(c,d){var b=new Array();for(var a=0;a&amp;lt;this.Items.length;a++){if(c==null||(this.GetResolvedKeyValue(this.Items[a])==c.GetKeyValueString())){if(d){if(this.Items[a].RowState==d){b.push(this.Items[a])}}else{b.push(this.Items[a])}}}return b};this.GetResolvedKeyValue=function(a){for(var c=0;c&amp;lt;a.Data.length;c++){var b=a.Data[c];if(b.Column.IsPrimaryKey()){return b.NewValue}}return a.KeyValues};this.Contains=function(b){for(var a=0;a&amp;lt;this.Items.length;a++){if(this.Items[a].KeyValues==b.GetKeyValueString()){return true}}return false};this.IndexOf=function(a){for(var b=0;b&amp;lt;this.Items.length;b++){if(this.Items[b]==a){return b}}return -1};this.SerializeToXml=function(){if(this.Items.length==0){return null}var d=this.Table.GetGrid();var o=d.XmlDt;var m=this.Table.XmlNode;var k=ISXml.CreateNodeOnly(o,"PendingChanges","");for(var e=0;e&amp;lt;this.Items.length;e++){var f=this.Items[e];var g=ISXml.CreateNode(o,k,"Item","");var b="";if(f.Data!=null){for(var h=0;h&amp;lt;f.Data.length;h++){var a=f.Data[h];b+="&amp;lt;C&amp;gt;";b+="&amp;lt;N&amp;gt;"+a.Column.Name+"&amp;lt;/N&amp;gt;&amp;lt;NT&amp;gt;"+ISXml.EncodeString(a.NewText)+"&amp;lt;/NT&amp;gt;&amp;lt;NV&amp;gt;"+ISXml.EncodeString(a.NewValue.toString())+"&amp;lt;/NV&amp;gt;";if(a.OldText!=""&amp;amp;&amp;amp;a.OldText!=null){b+="&amp;lt;OT&amp;gt;"+ISXml.EncodeString(a.OldText)+"&amp;lt;/OT&amp;gt;"}if(a.OldValue!=""&amp;amp;&amp;amp;a.OldValue!=null){b+="&amp;lt;OV&amp;gt;"+ISXml.EncodeString(a.OldValue.toString())+"&amp;lt;/OV&amp;gt;"}b+="&amp;lt;/C&amp;gt;"}}var n=f.KeyValues.split("\03");var c="";for(var h=0;h&amp;lt;n.length;h++){if(n[h]!=""){c+="&amp;lt;V&amp;gt;"+n[h]+"&amp;lt;/V&amp;gt;"}}if(!f.Table.IsRootTable&amp;amp;&amp;amp;f.ParentRowKeyValues!=null){n=f.ParentRowKeyValues.split("\03");var l="";for(var h=0;h&amp;lt;n.length;h++){if(n[h]!=""){l+="&amp;lt;V&amp;gt;"+n[h]+"&amp;lt;/V&amp;gt;"}}ISXml.CreateCDATA(o,g,"ParentValue",l)}ISXml.SetAttribute(g,"RowState",f.RowState);ISXml.SetAttribute(g,"TableName",f.Table.Name);ISXml.CreateCDATA(o,g,"Value",c);ISXml.CreateCDATA(o,g,"Data",b);if(f.RowState=="Added"&amp;amp;&amp;amp;f.Row.SubTable!=null){ISXml.CreateCDATA(o,g,"RelNames",f.Row.SubTable.RelNames)}}return k};this.Deserialize=function(n){for(var f=0;f&amp;lt;n.childNodes.length;f++){var g=n.childNodes[f];var e=new WebGridRowChanges();e.RowState=ISXml.GetAttribute(g,"RowState");e.RequireInvalidate=true;e.Table=this.Table;var q=ISXml.GetNode(g,"Value");if(q!=null){var s=ISXml.CreateXmlDocument();var k=new Array();ISXml.LoadXml(s,"&amp;lt;Root&amp;gt;"+q.text+"&amp;lt;/Root&amp;gt;");for(var h=0;h&amp;lt;s.documentElement.childNodes.length;h++){k.push(s.documentElement.childNodes[h].text)}e.KeyValues=k.join("\03")}var m=ISXml.GetNode(g,"Data");var r=ISXml.CreateXmlDocument();ISXml.LoadXml(r,"&amp;lt;Root&amp;gt;"+m.text+"&amp;lt;/Root&amp;gt;");var d=ISXml.GetNodes(r,"//C");if(d!=null&amp;amp;&amp;amp;d.length&amp;gt;0){e.Data=new Array();for(var h=0;h&amp;lt;d.length;h++){var c=new WebGridCellData();var l=d[h];c.Column=this.Table.Columns.GetNamedItem(ISXml.GetNodeText(l,"N"));c.NewText=ISXml.DecodeString(ISXml.GetNodeText(l,"NT"));c.NewValue=ISXml.DecodeString(ISXml.GetNodeText(l,"NV"));c.OldText=ISXml.DecodeString(ISXml.GetNodeText(l,"OT"));c.OldValue=ISXml.DecodeString(ISXml.GetNodeText(l,"OV"));e.Data.push(c)}}if(e.RowState=="Added"){var o=this.Table.NewRow();if(this.Table.HasMultiPrimaryKey){var a=e.KeyValues.split("\03");o.KeyValues=new Array();for(var h=0;h&amp;lt;a.length;h++){o.KeyValues.push(a[h])}}else{o.KeyValue=e.KeyValues}for(var h=0;h&amp;lt;e.Data.length;h++){var c=e.Data[h];var b=o.Cells.GetNamedItem(c.Column.Name);if(b!=null){b.Modified=true;b.Text=c.NewText;b.Value=c.NewValue;b.OldText=c.OldText;b.OldValue=c.OldValue}}o.RelNames=WGBatchEngine.GetRelNamesString(o);if(!this.Table.IsRootTable){var p=new WebGridSubTables();p.RelNames=ISXml.GetNodeText(g,"RelNames");o.SubTable=p}e.Row=o}this.Items.push(e)}};this.RefreshUI=function(a){if(typeof(WGBatchEngine)!="undefined"){WGBatchEngine.RefreshUI(this,a)}};this.Invalidate=function(){var b=this.Table.Grid;for(var c=0;c&amp;lt;this.Items.length;c++){var a=this.Items[c];a.RequireInvalidate=true;a.Element=null;if(a.Row!=null){a.Row.RowElement=null}if(a.RowState!="Added"){if(b.BindingOperationMode=="ServerBinding"||b.IsClientBinding("Server")){a.Row=null}}}};this.Clear=function(){for(var b=0;b&amp;lt;this.Items.length;b++){var a=this.Items[b];a.Element=null;a.Row=null;this.Items[b]=null}this.Items=new Array()}}function WebGridCellData(){this._Type="WebGridCellData";ISObject.call(this);this.Column=null;this.OldValue=null;this.OldText=null;this.NewValue=null;this.NewText=null}function WebGridRowChanges(){this._Type="WebGridRowChanges";ISObject.call(this);this.RowState="";this.Element=null;this.Data=null;this.Row=null;this.KeyValues=null;this.RequireInvalidate=false;this.Table=null;this.ParentRowKeyValues=null;this.Setup=function(f){this.Element=f.GetElement();this.Row=f;this.KeyValues=this.Row.GetKeyValueString();this.Table=f.Table;if(!this.Table.IsRootTable&amp;amp;&amp;amp;this.Row!=null){var e=this.Row.GetParentRow();if(e!=null){this.ParentRowKeyValues=e.GetKeyValueString()}}if(this.RowState!="Deleted"){this.Data=new Array();var b=this.Row.GetCells();for(var d=0;d&amp;lt;b.length;d++){var a=b[d];if(a!=null&amp;amp;&amp;amp;(a.Modified&amp;amp;&amp;amp;a.Column.DataMember!="")){var c=new WebGridCellData();c.Column=a.Column;c.OldValue=a.OldValue;c.NewValue=a.Value;c.OldText=a.OldText;c.NewText=a.Text;if(a.Column.DataType=="System.Boolean"){if(c.NewValue==""||c.NewValue==false){c.NewValue="False"}else{if(c.NewValue==true){c.NewValue="True"}}if(c.OldValue==false){c.OldValue="False"}else{if(c.NewValue==true){c.NewValue="True"}}}this.Data.push(c)}}}};this.MergeChanges=function(f){this.Row=f;if(this.RowState=="Modified"||this.RowState=="Added"){var b=this.Row.GetCells();for(var e=0;e&amp;lt;b.length;e++){var a=b[e];if(a!=null&amp;amp;&amp;amp;a.Modified){var d=this.GetExistingData(a.Column.Name);if(d){d.NewValue=a.Value;d.NewText=a.Text}else{var c=new WebGridCellData();c.Column=a.Column;c.OldValue=a.OldValue;c.NewValue=a.Value;c.OldText=a.OldText;c.NewText=a.Text;this.Data.push(c)}}}}return true};this.GetExistingData=function(c){if(this.Data==null){return null}for(var b=0;b&amp;lt;this.Data.length;b++){var a=this.Data[b];if(a.Column.Name==c){return a}}return null};this.UndoUIChanges=function(f){if(this.Element!=null){if(this.RowState=="Added"){var j=this.Row.Table;var c=j.Grid;var k=WG50Engine.GetTable(this.Element);var d=null;var h=null;WGBatchEngine.DeleteSubTableCascade(j,this.Row);WGEditEngine.DeleteRowGeneric(c,j,k,this.Element);if(j.LastRowPosition&amp;gt;-1){j.LastRowPosition--}if(c.LayoutSettings.Hierarchical){var g=wgGetLastVisibleRow(k);if(g!=null){h=g.GetRowElement();WGEditEngine.FixTreeLines(c,j,k,h);WGEditEngine.MarkLastLines(c,j,k,h)}}}else{if(this.RowState=="Modified"&amp;amp;&amp;amp;!f){for(var e=0;e&amp;lt;this.Data.length;e++){var b=this.Data[e];var a=wgGetCellByName(this.Element,b.Column.Name);if(a!=null){a.cellModified=true;a.oldCellValue=b.OldValue;a.oldText=b.OldText}}WGEditEngine.CancelChanges(this.Element)}else{if(this.RowState=="Deleted"){}}}}}};
&lt;/pRE&gt;
</description></item></channel></rss>