Hello, Martin,
I understand your point and what improvement is exactly requested. I have logged it in our feedback portal by creating a public thread on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link -
We will do our best to introduce this change in the upcoming service pack.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hi Dess,
Your examples are not really correct. Before this change, your examples worked exactly the same way. When you use var, object is assumed. Of course the object contains a GridViewCellInfo, but you have to cast it first to use one of its members.
The goal of my suggestion was to prevent unnecessary casts. This change didn't do that.
You said: " However, please have in mind that we are not planning to make any further changes in the collection since it affects all our customers that use RadGridView"
We already had that discussion before in the support ticket 1570683 leading up to this request. I asked you "So if you can find me one software example which will break after implementing IEnumerable<T>, then I will have learned something new today. I would love that :)"
I think that question was the one that changed your mind and you created this feature request.
Hi, Martin,
The collection can be enumerated where each item is a GridViewCellInfo now:
I believe that it would fit your scenario. However, please have in mind that we are not planning to make any further changes in the collection since it affects all our customers that use RadGridView.
Thank you for your understanding.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
I have just update my Telerik library to version 2022.3.913.48.
In here it looks like GridViewCellInfoCollection has implemented IEnumerable<T>. But it has been implemented the wrong way:
Right now it is the other way around. As a result, a foreach(var cell in GridViewCellInfoCollection) will still result in objects, not GridViewCellInfo.
Hi Dess,
Thanks again for your fast replies. Of course I understand you will make the final decision based on customers' wishes. Although I cannot imagine any customer who prefers (unnecessary / manual) boxing/casting over generic interfaces. :)
Regards,
Martin
Hi, Martin,
Thank you for the provided suggestions. We will consider them in the future improvement of the control. However, please have in mind that the final decision is up to our developers according to other customers' demand as well.
We always strive to develop controls that fit the requirements of as many customers as possible.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.