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.
Syncfusion Feedback

Why is call to record.BeginEdit() firing QueryCellStyleInfo events

Thread ID:

Created:

Updated:

Platform:

Replies:

56076 Feb 9,2007 01:10 AM UTC Feb 14,2007 02:16 AM UTC WinForms 3
loading
Tags: GridControl
James Blibo
Asked On February 9, 2007 01:10 AM UTC

I have the following code that is called by a context menu...


private void Move_ContextMenuClicked(object sender, System.EventArgs e)

{
this.gridGroupingControl1.TableControl.BeginUpdate();



foreach (Record recSpot in recSpots)
{
recSpot.BeginEdit();
recSpot.SetValue("WeekID", MoveToWeekI);
recSpot.EndEdit();
}


this.gridGroupingControl1.TableControl.EndUpdate(true);

this.gridGroupingControl1.TableControl.Table.EndEdit();
this.gridGroupingControl1.TableControl.Table.InvalidateSummary();
this.gridGroupingControl1.TableControl.Table.SummariesDirty = true;


}


However, when steping thru my code, the debugger jumps to the QueryCellStyleInfo event right when the call to rec.Begin is made.

Why is this? I am just trying to update the some records, why is QueryCellStyleInfo being called.

What if I did subscribe to QueryCellStyleInfo, I assume the update would still work ok, right?

Administrator [Syncfusion]
Replied On February 9, 2007 11:34 PM UTC

Hi James,

Thank you for your response.

We could able to see the issue using BeginEdit. We are looking for the alternative way for solving this issue. We will update you the details on Monday.

Thanks for being patience.

Best regards,
Haneef

James Blibo
Replied On February 12, 2007 08:03 PM UTC

Any update on this?

James Blibo
Replied On February 14, 2007 02:16 AM UTC

please... any update?

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.

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

;