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

Add new rows

Thread ID:





78809 Jan 1,2009 10:22 PM UTC Feb 26,2010 06:46 AM UTC ASP.NET Web Forms (Classic) 5
Tags: GridGroupingControl
Asked On January 1, 2009 10:22 PM UTC

Can u please point good example where i can do the ADD new rows to the grid. i have seen some examples releaed to the update and delete none of the respect to the Add new rows.
Me.GridGroupingControl1.TableDescriptor.AllowNew = True

I used above method but it is not working as expected.

Thanks for your help ...

Rekha P [Syncfusion]
Replied On January 2, 2009 09:09 AM UTC

Hi Prasanna,

Thank you for your interest in Syncfusion Products.

In order to add a new row into the Grid, the "AddNew" row can be shown using the AllowNew property. Please refer the code snippet below to achieve this.


Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
Me.GridGroupingControl1.TableDescriptor.AllowNew = True
End Sub

The client-side architecture of the Grid provides you with abilities to edit a row easily and you need to double-click the row to enter into the Edit mode. Clicking on the other row, would automatically save the contents of the edited row.

Also please refer the sample files below to achieve this.


Please let me know if this helps you.


Miguel Almeida
Replied On February 5, 2010 04:54 PM UTC

This link isn't valid any more.

I would very much appreciate a sample for Adding Rows.

Jaffersathick B [Syncfusion]
Replied On February 10, 2010 10:40 AM UTC

Hi Miguel,

Thank you for using Syncfusion product.

We suggest you to set the property in the Tabledescriptor AllowNew as true for showing the AddNew row in the Grid. DataSourceControlRowAdding and DataSourceControlRowAdded are the event associated with the row adding.

Please refer the help document from the below links:



//AddNew property


Please refer our online samples from the below link:


We will not able to provide samples in general forum due to security purpose.

Let me know if you have any queries.


Administrator [Syncfusion]
Replied On February 26, 2010 04:46 AM UTC

I dont understand how this query has been answered. How does the AddNew feature work???

I have done exactly as in the documentation. I have also looked at the samples suggested.

In C#
this.GridGroupingControl1.TableDescriptor.AllowNew = true;

In aspx:

In Page_Load, a dataTable is set as data source. The table has zero rows. That is the functionality required. User of grid must add new rows to define data.

On page launch, the grid shows one empty row. I can edit this row. But dont know how to come out of edit mode. Please note that there is NO SECOND ROW to click on. How does the second row get added??

I tried enter key to get out of edit mode. That too does not add a new row.

We chose this grid because of the features. Adding a new row is a basic feature needed. If this does not work, please let me know. I'll stop wasting my time and use some other grid like Infragistics, which does provide simple row addition capability.

Jaffersathick B [Syncfusion]
Replied On February 26, 2010 06:46 AM UTC

Hi Vinay,

Thank you for using Syncfusion products.

We deeply regret for the inconvenience caused to you. We will have a follow up for this forum in the Direct Trac incident id #65217.



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