﻿<?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 - Cant delete rows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-delete-rows/</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>Cant delete rows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-delete-rows/</link><pubDate>Wed, 02 Sep 2009 11:32:11 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;p&gt;Eric, can you confirm that your WebGrid build is 7.0.7200.304?&lt;/p&gt;
&lt;p&gt;Also, can you be more specific on your delete scenario? eg, does the issue occur when you delete a newly added row? or an existing row?&lt;/p&gt;
&lt;p&gt;In the code that you attach, I didn't see where you load the data. You have LoadData method, but the method creates the structure only without any data. So here's another suggestion, if you're populating the data manually into the DataTable, you'll need to call AcceptChanges at the DataSet level. Eg, ds.AcceptChanges() &lt;strong&gt;after&lt;/strong&gt; your data is added.&lt;/p&gt;
&lt;p&gt;Let me know if that helps.&lt;/p&gt;</description></item><item><title>Cant delete rows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-delete-rows/</link><pubDate>Wed, 02 Sep 2009 11:23:54 GMT</pubDate><dc:creator>ehanig@extendemail.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;its important to note that this only started to occur once we updated to the current 2008 release.  However we also tested with 2009 and it also occurs.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;</description></item><item><title>Cant delete rows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-delete-rows/</link><pubDate>Wed, 02 Sep 2009 11:22:11 GMT</pubDate><dc:creator>ehanig@extendemail.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;that did not resolve the issue.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;</description></item><item><title>Cant delete rows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-delete-rows/</link><pubDate>Wed, 02 Sep 2009 10:42:50 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;p&gt;Eric,&lt;/p&gt;
&lt;p&gt;For your delete issue, try to add DeleteRow event handler to your Grid. Then put a code that execute Delete on the DataRow object.&lt;/p&gt;
&lt;p&gt;For example,&lt;/p&gt;&lt;pre&gt;protected void grdObj_DeleteRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e)
{
        ((DataRowView)e.Row.DataRow).Row.Delete();
        
}&lt;/pre&gt;

&lt;p&gt;Let me know if this works for you.&lt;/p&gt;</description></item><item><title>Cant delete rows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-delete-rows/</link><pubDate>Wed, 02 Sep 2009 10:32:22 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;blockquote&gt;&lt;p&gt;Here are the attachment, it doesnt seem to want to allow me to upload 2 files. so i will do it on another post.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Eric, you should be able to upload max. 5 files at once. What's the browser you used?&lt;/p&gt;</description></item><item><title>Cant delete rows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-delete-rows/</link><pubDate>Wed, 02 Sep 2009 09:07:00 GMT</pubDate><dc:creator>ehanig@extendemail.com</dc:creator><description>&lt;p&gt;attachment 2&lt;/p&gt;</description></item><item><title>Cant delete rows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-delete-rows/</link><pubDate>Wed, 02 Sep 2009 09:06:14 GMT</pubDate><dc:creator>ehanig@extendemail.com</dc:creator><description>&lt;p&gt;Here are the attachment, it doesnt seem to want to allow me to upload 2 files. so i will do it on another post.&lt;/p&gt;</description></item><item><title>Cant delete rows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-delete-rows/</link><pubDate>Wed, 02 Sep 2009 08:36:42 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Eric,&lt;/p&gt;
&lt;p&gt;Could you re-attach the source code in .txt file?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>Cant delete rows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-delete-rows/</link><pubDate>Mon, 31 Aug 2009 07:54:13 GMT</pubDate><dc:creator>ehanig@extendemail.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;i set the DataKeyField and it had no impact on the issue.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;</description></item><item><title>Cant delete rows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-delete-rows/</link><pubDate>Mon, 31 Aug 2009 03:40:40 GMT</pubDate><dc:creator>gordont</dc:creator><description>&lt;p&gt;Hi Eric,&lt;/p&gt;
&lt;p&gt;Try to set DataKeyField in the grid. You can set it in PrepareDataBinding event.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Gordon Tumewu&lt;/p&gt;</description></item><item><title>Cant delete rows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-delete-rows/</link><pubDate>Thu, 27 Aug 2009 08:55:00 GMT</pubDate><dc:creator>ehanig@extendemail.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;when trying to delete a row using the delete key (or any method) we now get the following error popup.&lt;/p&gt;
&lt;p&gt;Cannot perform this operation on a row not in the table. &lt;/p&gt;
&lt;p&gt;This all started happening when we converted to the most current Webgrid 6.0&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;</description></item></channel></rss>