Hi,
I hve CellControlAttached event to check some condition and apply results at runtime.But when i scroll up and down of web grid then its showing wrong data in datgrid than prevois shows.
Its going in CellControlAttached each time when scroll up and down. So how to stop this.
Thanks,
Mahendra
CellControlAttached will fire each time a cell is brought into view, as this is part of our object recycling. So you can't stop it from raising the event.
The following to help articles go into detail on how this works:
http://help.infragistics.com/Help/NetAdvantage/Silverlight/2009.1/CLR3.5/html/SL_xamWebGrid_Virtualization.html
http://help.infragistics.com/Help/NetAdvantage/Silverlight/2009.1/CLR3.5/html/SL_xamWebGrid_Control_the_Virtualization_Process.html
If you are dirtying a cell you should set the event Arguments e.IsDirty to true so that the cell isn't recycled and a new instance is created.
But what are you trying to do here? What are you trying to modify in the cell? Is it just the style for a visual cue?