<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Add New Row on Infragistics Grid</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Add New Row on Infragistics Grid</description>
  <pubDate>Thu, 11 Jun 2026 16:38:36 -700</pubDate>
  <lastBuildDate>Tue, 16 Oct 2007 20:55:34 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=505</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Add New Row on Infragistics Grid : You create a grid (in our case...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=505&amp;PID=1674#1674</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 505<br /><strong>Posted:</strong> 16-Oct-2007 at 8:55pm<br /><br /><P =Ms&#111;normal><SPAN style="COLOR: #1f497d">You create a grid (in our case it was an infragistics grid) and follow the documentation on how to add the Addrow to the top of the grid.<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P =Ms&#111;normal><SPAN style="COLOR: #1f497d"><o:p></o:p></SPAN></P><P =Ms&#111;normal><SPAN style="COLOR: #1f497d">If you view the code and add the event handler as in the tutorials everything will work out.<o:p></o:p></SPAN></P><P =Ms&#111;normal><SPAN style="COLOR: #1f497d"><o:p></o:p></SPAN></P><P =Ms&#111;normal><SPAN style="COLOR: #1f497d">BUT if you double click on the event to get VS to create the event handler for you and then add the code to create a new entity you will probably get a concurrency error message that the value “123” or whatever the key field is already exists in the database.<o:p></o:p></SPAN></P><P =Ms&#111;normal><SPAN style="COLOR: #1f497d"><o:p></o:p></SPAN></P><P =Ms&#111;normal><SPAN style="COLOR: #1f497d">The reason for that is that the event default stuff is still firing and adding the record and then the event fires and ‘re-adds’ the information.<o:p></o:p></SPAN></P><P =Ms&#111;normal><SPAN style="COLOR: #1f497d"><o:p></o:p></SPAN></P><P =Ms&#111;normal><SPAN style="COLOR: #1f497d">I don’t know all the technical jargon to what is happening.&nbsp; All I know is that when we removed the event from the designer code (or delete it in the event properties window) and then added the event handler in code everything worked fine.<o:p></o:p></SPAN></P><P =Ms&#111;normal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>]]>
   </description>
   <pubDate>Tue, 16 Oct 2007 20:55:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=505&amp;PID=1674#1674</guid>
  </item> 
 </channel>
</rss>