We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Refresh grid after record deletion

Thread ID:





92206 Dec 28,2009 11:23 AM UTC Dec 30,2009 10:27 AM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Maurizio Selvaggini
Asked On December 28, 2009 11:23 AM UTC

The GridGrouping control grid does not refresh the view after the deletion of a record. To see changes i need to reload the page.

Is there anything wrong or missing in my code below?
Thanks for any answer.

Maurizio Selvaggini

' code details
To delete records i use a GridRowEditUpdateLink with a customized delete function named "delete_records". This customized function is correctly called and executed when i click on the GridRowEditUpdateLink link.

Public Sub delete_records(ByVal sender As Object, ByVal e As GridRowEditUpdateEventArgs)
Select Case e.CommandLinkType
Case "Delete"
sqlPDS.DeleteParameters("fiedl1").DefaultValue = e.CurrentGridRow.Record.GetValue("field1")
Case Else
End Select
End sub

Also i have disabled the GridRowEditUpdateLink default delete processing to avoid duplicate processing:

Protected Sub gridPDS_DataSourceControlRowDeleting(ByVal sender As Object, ByVal e As Syncfusion.Web.UI.WebControls.Grid.Grouping.GridDataSourceControlRowDeleteEventArgs) Handles gridPDS.DataSourceControlRowDeleting
e.Cancel = True
End Sub

Jaffersathick B [Syncfusion]
Replied On December 30, 2009 10:27 AM UTC

Hi Maurizio,

Thank you for your interest in Syncfusion products.

I am afraid that I am unable to reproduce the reported issue. I am able to refresh the record without refreshing the page. Can you please provide more information regarding this or send a sample for this. It will help me to sort out the problem.

Let me know if you have any queries.

Thanks and Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon