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

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

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?

3 Replies

AD Administrator Syncfusion Team 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


JB James Blibo February 12, 2007 08:03 PM UTC

Any update on this?


JB James Blibo February 14, 2007 02:16 AM UTC

please... any update?

Loader.
Live Chat Icon For mobile
Up arrow icon