Home Forums WinForms controls Xceed Grid for WinForms DataSource update problem Reply To: DataSource update problem

User (Old forums)
Member
Post count: 23064

Hello Tommy,

Thanks for quick reply,

Here is my code that runs on in Client/GUI.

===================================

private void frmEstimate_Load(object sender, System.EventArgs e)
{
locCostCentres = estimateManager.getCostCentres(this.estimateID);
grdCostCentres.DataSource = locCostCentres;
}

private void refreshEstimate()
{
isLoading= true;
grdCostCentres.BeginInit();

locCostCentres = estimateManager.getCostCentres(this.estimateID);
//grdCostCentres.DataSource = locCostCentres;

grdCostCentres.EndInit();
isLoading= false;
}

===================================

if i acquire estimateManager object locally, above mentioned code works fine.

In case, when i acquire estimateManager object from remote server, eventhough data
source is set in frmEstimate_Load, i have to uncomment DataSource line and reassign it.
Ohterwise grid will not display new data.

Any idea, is this problem with remoting or grid/databinding?

Regards,

Kapil

Imported from legacy forums. Posted by kapilkelaiya (had 345 views)