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.
Unfortunately, activation email could not send to your email. Please try again.

Delete a row in the record

Thread ID:





96821 Oct 7,2010 02:20 PM Oct 11,2010 01:54 PM ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Asked On October 7, 2010 02:20 PM

private void butDelete_Click(object sender,EventArgs e)
if (grdDisplayItems.Table.CurrentRecord != null)
if (grdDisplayItems.Table.Records.Count == 1)
The delete method deletes all records except for the record that iis left out.for e if we have 4 records it deletes 3 records succesfully but the last record is not deleted at all

if the grid has just one record then also the record is not getting deleted
I am getting an exception object refrence not set to an instanc eof an object

Stack trace:
StackTrace " at System.Data.DataView.GetRow(Int32 index)\r\n at System.Data.DataView.System.Collections.IList.RemoveAt(Int32 index)\r\n at Syncfusion.Grouping.Table.DeleteRecord(Record r)\r\n at Syncfusion.Grouping.Record.Delete()" string

Bharath M [Syncfusion]
Replied On October 11, 2010 01:54 PM

Hi Harshini,

We regret for the inconvenience caused.

I am afraid that I am unable to reproduce the reported issue. Could you please update us the type of data that you are binding to grid and if possible, please provide us full grid definition from both ASPX and CS?

Let me know if you have any concerns.

Bharath M


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.

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.