﻿<?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 - OnExitCell</title><link>http://www.intersoftsolutions.com/Community/Tags/OnExitCell/</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>Validation On Cell after change webgrid</title><link>http://www.intersoftsolutions.com/Community/Tags/OnExitCell/</link><pubDate>Wed, 16 Dec 2015 13:07:32 GMT</pubDate><dc:creator>sjain</dc:creator><category>WebGrid</category><category>OnExitCell</category><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I need to validate particular column in webgrid.&lt;/p&gt;&lt;p&gt;Suppose, I have multiple columns in webgrid and I want whenever I edit the particular row and particular column then validation should be happen for that particular column cell, not on other cell of that row.&lt;/p&gt;&lt;p&gt;After validation(suppose value is greatter than &amp;gt;10) do not able to change the value and give a laert message and udo the changes value(old value) in particular cell.&lt;/p&gt;&lt;p&gt;Note: Pending changes should not increase, as we did undo changes on that paricular cell.&lt;/p&gt;&lt;p&gt;I have added javascript code on webgrid1_OnAfterExitEditMode as follows:&lt;/p&gt;&lt;p&gt;RowObject.GetCells().GetNamedItem("ss").SetText(RowObject.GetCells().GetNamedItem("ss").Get("OldText"), true);&lt;/p&gt;&lt;p&gt;RowObject.GetCells().GetNamedItem("ss").SetValue(RowObject.GetCells().GetNamedItem("ss").Get("OldValue"), true);&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Attached the picture for references.&lt;/p&gt;&lt;p&gt;Please reply ASAP.&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Sachin Jain&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>