﻿<?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 - AddRow</title><link>http://www.intersoftsolutions.com/Community/Tags/AddRow/</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>Add new row webcombo does not work inside grid</title><link>http://www.intersoftsolutions.com/Community/Tags/AddRow/</link><pubDate>Fri, 03 Aug 2018 07:17:56 GMT</pubDate><dc:creator>sjain</dc:creator><category>WebGrid</category><category>WebCombo</category><category>AddRow</category><description>Hi,&lt;div&gt;While add new row into webgrid, webcombo does not load all the records in it.&lt;/div&gt;&lt;div&gt;Attached screenshot, as it works while edit the rows.&lt;/div&gt;&lt;div&gt;Attached sample example aspx page.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Please give us solution ASAP, I am using Version 7 of webcombo.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards&lt;/div&gt;&lt;div&gt;Sachin&lt;/div&gt;</description></item><item><title>Editing a row just after is was added</title><link>http://www.intersoftsolutions.com/Community/Tags/AddRow/</link><pubDate>Wed, 09 Apr 2014 11:59:02 GMT</pubDate><dc:creator>jarek@mantasolutions.com</dc:creator><category>WebGrid</category><category>AddRow</category><description>&lt;p&gt;With WebGrid 8, just after inserting a new row, if I try to edit it, when the update code is supposed to run, I get : &lt;/p&gt;
&lt;p&gt;Server Error in '/' Application.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Object reference not set to an instance of an object.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Source Error:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Stack Trace:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;[NullReferenceException: Object reference not set to an instance of an object.]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;   ISNet.WebUI.WebGrid.WebGridTable.IsKeyValueEqual(WebGridRow row, Object oKeyValues) &amp;#43;149&lt;/p&gt;
&lt;p&gt;   ..(DataView , XmlNode ) &amp;#43;2559&lt;/p&gt;
&lt;p&gt;   ..(DataView , String ) &amp;#43;1200&lt;/p&gt;
&lt;p&gt;   ..(DataView , String , String ) &amp;#43;1466&lt;/p&gt;
&lt;p&gt;   ..DataBind(Object , String ) &amp;#43;1584&lt;/p&gt;
&lt;p&gt;   ISNet.WebUI.WebGrid.WebGrid.() &amp;#43;183&lt;/p&gt;
&lt;p&gt;   ISNet.WebUI.ISNetControl.ControlRequestHandler(Object , EventArgs ) &amp;#43;303&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;[Exception: Object reference not set to an instance of an object.]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;   ISNet.WebUI.ISNetControl.ControlRequestHandler(Object , EventArgs ) &amp;#43;578&lt;/p&gt;
&lt;p&gt;   System.EventHandler.Invoke(Object sender, EventArgs e) &amp;#43;0&lt;/p&gt;
&lt;p&gt;   System.Web.UI.Control.OnPreRender(EventArgs e) &amp;#43;92&lt;/p&gt;
&lt;p&gt;   System.Web.UI.Control.PreRenderRecursiveInternal() &amp;#43;83&lt;/p&gt;
&lt;p&gt;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) &amp;#43;974&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;In the AddRow handler, I insert the new line in SQL Server. The Key is autogenerated by SQL Server. &lt;/p&gt;
&lt;p&gt;Then I read this new Key and set in the Value of the corresponding WebGridCell in the new row. &lt;/p&gt;
&lt;p&gt;Is there something else I need to do to correctly set the row's DataKeyField?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>