GridGroupingControl

Hello,

I have a problem updating values in the grid and underlying datasource.

I create a datatable and attach it to the grid's datasource. So far ok, the data is displayed well. Then I press the edit button , i change a text in a random cell and click the update button. Following MessageBox appears :

---------------------------
Windows Internet Explorer
---------------------------
Specified method is not supported.
---------------------------
OK Cancel
---------------------------


protected void LoadGridData()
{
DataTable dt = new DataTable();
DataColumn dc1 = new DataColumn("Name");
DataColumn dc2 = new DataColumn("Firstname");
DataColumn dc3 = new DataColumn("Hours");

dt.Columns.Add(dc1);
dt.Columns.Add(dc2);
dt.Columns.Add(dc3);
dt.Rows.Add("Heinz", "Fritz", "100");
this.GridGroupingControl.DataSource = dt;
this.GridGroupingControl.DataBind();

}



4 Replies

AD Administrator Syncfusion Team June 19, 2008 07:16 AM UTC

Anyone please, it is urgent .



AD Administrator Syncfusion Team June 19, 2008 12:47 PM UTC

Ok, it works now. I have used a dataadapter.



RS Rajarajeswari S Syncfusion Team June 23, 2008 07:37 PM UTC

Hi,

Thanks for the update.

Regards,
Raji





FE Fernando August 7, 2012 07:37 PM UTC

I have the same issue, please, can you tell me how to fix it?
 
I am doing this:

DataSet1TableAdapters.

GetCategoriesTableAdapter dtaCategories = new DataSet1TableAdapters.GetCategoriesTableAdapter();

dtCategories = dtaCategories.GetData();gridCategories.DataSource = dtCategories;

gridCategories.DataBind();

 

then I just press save button, using gridTable.table.Save method and I get the same error

"Specified method is not supported"

thanks,

Fernando


Loader.
Up arrow icon