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,
On the server side DeleteRow, i need to delete a second row, when another row is deleted. These rows are at the same level. So when i delete a row in the DeleteRow server side call, i need to also delete another row. However, its not showing on the client when i try.
I have tried:
and
e.Row.Grid.RootTable.Rows.Remove(e.Row.Grid.RootTable.Rows[j]);
Neither throw an error, but the row still shows on the client.
Eric
Still no response, we are petty desperate to know how to do this.
In order to delete second row, when another row is deleted on the DeleteRow server side event, please try to do following.
Run InvokeScript method from DeleteRow server side event.
protected void WebGrid1_DeleteRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e) { if (e.Row.Cells[1].Text == "UnitedPackage") { WebGrid1.ClientAction.InvokeScript("DeleteNextRow();"); } }
Delete row from the invoked script function.
<script type="text/javascript"> <!-- function DeleteNextRow() { var WebGrid1 = ISGetObject("WebGrid1"); WebGrid1.GetSelectedObject().GetRowObject().Delete(); return true; } --> </script>
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