GridGroupingControl: add new row

Hello!
I am using Syncfusion ASP.NET GripGroupingControl ver. 6.302.1.8 with ASP.NET AJAX UpdatePanel.
I can't perform adding new row. My aim is to save new row to database. I double-click the row to enter into the Edit mode. Fill with data. Click on the other row, but DataSourceControlRowAdded event doesn't arise? So, I can't get new values and save them to database. Am i doing smth wrong?

Thanks,
Sergey


1 Reply

RS Rajarajeswari S Syncfusion Team December 2, 2008 12:49 PM UTC

Hi Sergy,

Sorry for the delayed response.

Once if the Rows are added into the Grid it will be automatically updated to database. The RowAdded event is getting triggered without any issue in our latest version 6.4.0.15. Please refer the below code snippet, which illustrates this:

this.GridGroupingControl1.DataSourceControlRowAdded += new Syncfusion.Web.UI.WebControls.Grid.Grouping.GridDataSourceControlRowAddedEventHandler(GridGroupingControl1_DataSourceControlRowAdded);

void GridGroupingControl1_DataSourceControlRowAdded(object sender, Syncfusion.Web.UI.WebControls.Grid.Grouping.GridDataSourceControlRowAddedEventArgs e)
{
string val = e.NewValues[1].ToString();
}

Could you please Download our latest version, which has lots of features included with many fixes? Please refer the below link, to download it?


http://www.syncfusion.com/downloads/latestversion/default.aspx

Please refer the sample from the below link, which illustrates the above:

http://www.syncfusion.com/support/user/uploads/RowAdded_c73bbc39.zip

Could you please try this and let us know if this helps you out.

Regards,
Raji



Loader.
Up arrow icon