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

Set Values in Grid Grouping Control

Thread ID:

Created:

Updated:

Platform:

Replies:

63481 Jul 4,2007 03:03 PM UTC Jul 5,2007 05:31 PM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: Grouping
Yarius Yacinus
Asked On July 4, 2007 03:03 PM UTC

Hi,
I am using a GGC,I loop through it and when I Use the statement GGC.Table.Records[index].setValue("ColumnName",Value] I get nothing displayed in the GGC record.
I would like to know if there is other way to set a value in specified cells of GG
Thanks

Yacinus

Gokul B [Syncfusion]
Replied On July 4, 2007 09:08 PM UTC

Hi Yacinus,

we can able to reproduce the issue as you mentioned. Binding the GridGroupingControl using the DataSourceID was causing this issue. To Get rid of this issue please follow one of the following method.

Method 1:

Invoke the page DataBind method in code behind as shown below will solves this issue.

//Binds the Datasource to the Invoked server control and all its child control.
this.DataBind();

Method 2:

Instead of using the DataSourceID binding the GridGroupingControl using the DataSource property will solves this issue. Please refer to the below code snippet.

this.GridGroupingControl1.DataSource = AccessDataSource1;

Let us know if it helps.

Thanks for using Syncfusion products.

Regards,
Gokulkumar B

Yarius Yacinus
Replied On July 5, 2007 08:29 AM UTC

Hi Gollukumar

In fact both methods didn't solve the issue ,when I use this.dataBind I get the exception message System.ArgumentOutOfRangeException

Regards ,

Yacinus

Administrator [Syncfusion]
Replied On July 5, 2007 05:31 PM UTC

Hi Yacinus,

Thanks for posting your query to us.

We afraid that we are not able to reproduce the issue. Please refer to the following steps that we tried to reproduce it.

* We bind the Grid to AccessDataSourceControl using the DataSourceID.
* We invoked this.DataBind() in the Page_load event.
* And then we tried to loop through the Grid Record and used the SetValue method for the index specified.

Also we have create a simple sample to test this issue and it is available in the following link.

http://websamples.syncfusion.com/samples/Grid.Web/5.1.0.51/F63481/GridGroupingControl_Forum63481/main.htm

Please have a look at the above sample and if still the issue exists, Could you please try reproducing it in the above sample or send us the reproducing steps so that we could sort out the cause of the issue and provide you a soultion.

Regards,
Gokulkumar B

CONFIRMATION

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.

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

;