This question is locked. New answers and comments are not allowed.
When I have updated the latest Telerik RadControls, I found “WrapVirtualizationStrategy. cs“ file RecalculateViewportMeasurements () method in a piece of code to do the modification.
Prior to: this.averageItemCountPerRow = (int)Math.Ceiling(this.owner.realizedItems.Count / (double)rowsCount);
The latest modified into: this.averageItemCountPerRow = (int)(this.ViewportExtent / this.averageItemExtent);
While I was in use in the process of using the modified code will be an error. Enclosing averageItemExtent likely to zero. I am aware of the consequences is very serious, will make you quit the app. This is a very bad experience.
I don't know what after you modify the consequences, but I would like to know how to get rid of this error
I don't hope this is your carelessness
I come from China, English is not good, please forgive me a lot
thank you.
Prior to: this.averageItemCountPerRow = (int)Math.Ceiling(this.owner.realizedItems.Count / (double)rowsCount);
The latest modified into: this.averageItemCountPerRow = (int)(this.ViewportExtent / this.averageItemExtent);
While I was in use in the process of using the modified code will be an error. Enclosing averageItemExtent likely to zero. I am aware of the consequences is very serious, will make you quit the app. This is a very bad experience.
I don't know what after you modify the consequences, but I would like to know how to get rid of this error
I don't hope this is your carelessness
I come from China, English is not good, please forgive me a lot
thank you.