iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
when trying to delete a row using the delete key (or any method) we now get the following error popup.
Cannot perform this operation on a row not in the table.
This all started happening when we converted to the most current Webgrid 6.0
Eric
Eric, can you confirm that your WebGrid build is 7.0.7200.304?
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?
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() after your data is added.
Let me know if that helps.
Hi Eric,
Try to set DataKeyField in the grid. You can set it in PrepareDataBinding event.
Best Regards,
Gordon Tumewu
i set the DataKeyField and it had no impact on the issue.
Could you re-attach the source code in .txt file?
Thanks.
Here are the attachment, it doesnt seem to want to allow me to upload 2 files. so i will do it on another post.
attachment 2
Eric, you should be able to upload max. 5 files at once. What's the browser you used?
Eric,
For your delete issue, try to add DeleteRow event handler to your Grid. Then put a code that execute Delete on the DataRow object.
For example,
protected void grdObj_DeleteRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e) { ((DataRowView)e.Row.DataRow).Row.Delete(); }
Let me know if this works for you.
that did not resolve the issue.
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.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname