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.

async out of sync

Thread ID:

Created:

Updated:

Platform:

Replies:

107966 Mar 26,2013 10:15 AM Mar 8,2018 05:06 PM ASP.NET Web Forms (Classic) 5
loading
Tags: GridGroupingControl
Robert Miller
Asked On March 26, 2013 10:15 AM

After an async postback in which a record is added to the datasource the record is not displayed in the grid. However I can verify that the record exists in the datasource by checking  the datasource on the next postback. The grid appears to be one behind as records are added to the datasource.

Bala Murugan A.S [Syncfusion]
Replied On April 1, 2013 08:41 AM

Hi Robert,

Thanks for using Syncfusion Products.

Currently we are working on your query with high priority and we will update you in one business day(April 2,2013).

Please let us know if you have any concerns.

Regards,
Bala Murugan A.S

Hariharan J V [Syncfusion]
Replied On April 2, 2013 08:57 AM

Hi Robert Miller,


Thanks for your patience.


We would like to get more information about your requirement details..


1.      Which type of data source you are using in sample.


2.      What type of data binding used in sample.


3.      How do you update record of the data source using asynchronous postback .


pd  Please let us know if you have any concerns..


Regards,

Hariharan jv

 

 


Robert Miller
Replied On April 4, 2013 08:35 AM

"Which type of data source you are using in sample."
 
It's a custom collection.  e.g.
 
    public class PartsOrderList : IEnumerable<PartOrder>
    {
        ...
    }
It works fine with the ASP grid that comes with studio (asp:GridView)
 
 
"What type of data binding used in sample."
 
grid.DataSource =
 
 
"How do you update record of the data source using asynchronous"
 
(grid.DataSource as PartsOrderList).Add(part)

Hariharan J V [Syncfusion]
Replied On April 11, 2013 03:16 AM

Hi Robert,

Thanks for your update.

We suggest you to maintain a records in list and add any record onto the list if required and bind that list to the grid. Please refer the below code snippets.

[Default.aspx]

List<Customers> CustomersCollection = new List<Customers>();

void Button1_Click(object sender, EventArgs e)

        {

            Customers Customers = null;

            Customers = new Customers("chennai", "india", "ABANA", "syncfusion", "john");

            CustomersCollection.Add(Customers);

           

            this.GridGroupingControl1.DataSource = CustomersCollection;

        }

For your convenience, we have prepared a simple sample to demonstrate this and the same can be downloaded from the below link.

Sample: WebApplication6.zip

Please let us know if you have any concerns.

Regards,

HARIHARAN JV


Chaimaà
Replied On March 8, 2018 05:06 PM

Hi Robert Miller,


Thanks for your patience.


We would like to get more information about your requirement details..


1.      Which type of data source you are using in sample.


2.      What type of data binding used in sample.


3.      How do you update record of the data source using asynchronous postback .


pd  Please let us know if you have any concerns..


Regards,

Hariharan jv

 

 


oh my god

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.

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.

;