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

beginupdate/endupdate and griddataboundgrid

Thread ID:





10081 Jan 21,2004 08:57 PM UTC Jan 22,2004 01:56 PM UTC WinForms 2
Tags: GridControl
damien morton
Asked On January 21, 2004 08:57 PM UTC

Is the BeginUpdate()/EndUpdate(true) pattern supposed to work with the DataBoundGrid? Im finding that whilst BeginUpdate() does in fact stop updates propagating to the view, EndUpdate(true) doesnt cause those deferred updates to be drawn. Ive tried wrapping SuspendBinding()/ResumeBinding() around the BeginUpdate()/EndUpdate(), to no avail. Is BeginUpdate()/EndUpdate() simply broken on the DataBoundGrid? Could I perhaps be setting thr wrong options on the BeginUpdate method? (Ive tried them all). Im using Syncfusion 1.6.8. Could this behaviour be fixed in 2.0.x?

Administrator [Syncfusion]
Replied On January 21, 2004 11:32 PM UTC

Have you tried calling BeginUpdate like this: this.gridDataBoundGrid2.BeginUpdate(Syncfusion.Windows.Forms.BeginUpdateOptions.Invalidate); to see if that makes a difference? You can always call grid.Refresh() after your EndUpdate call to force a refresh. (Or, call grid.Invalidate followed by grid.Update to force a redraw).

damien morton
Replied On January 22, 2004 01:56 PM UTC

It turns out that calling grid.Update() immediatly after grid.EndUpdate(true) forces the update through. I thought that grid.EndUpdate(true) forces an Update() call, but it appears that that functionality isnt working.


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