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.

EndUpdateRequest docu is not proper

Thread ID:

Created:

Updated:

Platform:

Replies:

31141 Jun 30,2005 10:32 AM Jun 30,2005 12:43 PM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On June 30, 2005 10:32 AM

The help says: GridModel.EndUpdateRequest Event Occurs when the last EndUpdate was called for the grid model. However, I get this event for each EndUpdate call. No miracle, the GridModel.EndUpdate code is: public virtual void EndUpdate(bool update) { if (!this.inInit && !this.inEndUpdate) { this.OnEndUpdateRequest(new GridEndUpdateRequestEventArgs(update)); if ((this.updateCount > 0) && (--this.updateCount == 0)) { this.updateCommand = ""; } Trace.Unindent(); } }

Administrator [Syncfusion]
Replied On June 30, 2005 12:43 PM

Hi Gergely, thanks for pointing that out. We will change the documentation. If you need to know the status when EndUpdate is the last one in a sequence of calls you could listen to the UpdatingChanged event of the GridControlBase (or GridControl) that is attached to the model. That will fire when the last EndUpdate was called for the view. Stefan >The help says: >GridModel.EndUpdateRequest Event > >Occurs when the last EndUpdate was called for the grid model. > >However, I get this event for each EndUpdate call. No miracle, the GridModel.EndUpdate code is: >public virtual void EndUpdate(bool update) >{ > if (!this.inInit && !this.inEndUpdate) > { > this.OnEndUpdateRequest(new GridEndUpdateRequestEventArgs(update)); > if ((this.updateCount > 0) && (--this.updateCount == 0)) > { > this.updateCommand = ""; > } > Trace.Unindent(); > } >} >

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.

;