This is a migrated thread and some comments may be shown as answers.

WrapVirtualizationStrategy Problem

3 Answers 103 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sun
Top achievements
Rank 1
sun asked on 13 Jun 2013, 11:27 AM
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.

3 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 14 Jun 2013, 08:37 AM
Hello Sun,

Thanks for writing.

We are aware of this and are already working on addressing it.

Do not hesitate to get back to us in case you have further questions or need assistance.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
sun
Top achievements
Rank 1
answered on 14 Jun 2013, 08:44 AM
Thank you for your reply, I can only use first method before, hope to solve this problem as soon as possible, because it is impossible for me to upgrade every time to modify the source code.
And this problem really don't know where asked, so he raised questions in this section, hope understanding.
Once again, thank you
0
Deyan
Telerik team
answered on 19 Jun 2013, 07:11 AM
Hi Sun Qi,

I would like to inform you that we release our source code with informational purposes and we do not support customers who modify it and integrate different implementation into their applications.

Otherwise, we will be releasing an Interal Build with the aforementioned fix this week so stay tuned.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
ImageEditor
Asked by
sun
Top achievements
Rank 1
Answers by
Deyan
Telerik team
sun
Top achievements
Rank 1
Share this question
or