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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Recommended approach for loading / updating data to the grid?

Thread ID:





11073 Feb 23,2004 12:55 PM UTC Feb 23,2004 03:05 PM UTC WinForms 2
Tags: GridControl
Asked On February 23, 2004 12:55 PM UTC

What is your recommended approach for loading / updating the datasource. calling databoundgrid.BeginLoadData() still does not suspend the grid. What is the best approach for accomplishing this? tia, Peter

Administrator [Syncfusion]
Replied On February 23, 2004 01:31 PM UTC

I am not sure what you want to suspend. There is no method named BeginLoadData in GridDataBoundGrid. If you want to suspend drawing the grid, try using grid.BeginUpdate/grid.EndUpdate. If you want to suspend the binding to the datasource while you work on the datasource, try grid.Binder.SuspendBinding/grid.Binder.ResumeBinding to see if that does what you need. (Note - this is broken in some of the 2.0 betas, but should be fixed in the upcoming release.)

Replied On February 23, 2004 03:05 PM UTC

i was using grid.beginUpdate() grid.EndUpdate() and datatable.beginloaddata() datatable.endloaddata() grid.Binder.SuspendBinding()grid.Binder.ResumeBinding() is just what i needed, thanks


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon