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
Webgrid's delete functionality stopped after updating the dll version from 203 to 214. I updated both WebUI and Webgrid dll and corresponding scripts. To check this i again updated my current solution with old dlls and the corresponding scripts. There goes...the delete functionality is working again. What could be the problm? Here is how am doing a delete.
var delRow= grid.RootTable.GetRowByKeyValue(objRet.I_FILE_BLOCK_ROW);delRow.Select();delRow.Delete();
If the row am going to delete is the one added through client side(no update done yet in database), then i am getting an alert message saying "Cannot perform this operation on a row not in the table". As i said earlier, if i revert back to the old dll and scripts, it works fine. So what went wrong with me? Is that method is obsolete?
It seems your previous WebGrid build has been quite old. There might be several enhancements related to transactions in the latest update.
You can see the solution for this issue in a similar community thread at http://www.intersoftpt.com/Community/WebGrid/Cant-delete-rows/
Hope this helps,James.
protected void grdObj_DeleteRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e){ ((DataRowView)e.Row.DataRow).Row.Delete(); return false;}
Now both the rows added at client side and server side can be deleted. Thank you James
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