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

RadGridView/DropDown datasource performance

3 Answers 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alexey
Top achievements
Rank 1
Alexey asked on 01 Dec 2020, 05:44 PM

Hi All,

 

Which dataset type gives the best performance for control or field utilizing dictionaries or datasets do display data based on Key and Value?

I can suggest a Dictionary, KeyValuePair array, List of KeyValuePair, IEnumerable of KeyValuePair. Am I miss something?

 

Thanks!

3 Answers, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 02 Dec 2020, 02:46 PM

Hello, Alexey.

This sounds more like a general programming question. After further research in the appropriate forums, I have found the following useful threads on this topic:
https://stackoverflow.com/questions/15904625/which-net-collection-is-faster-enumerating-foreach-dictionary-values-or-list 
https://stackoverflow.com/questions/34953896/performance-dictionarystring-int-versus-liststring 
https://stackoverflow.com/questions/1769053/when-would-you-use-a-listkeyvaluepairt1-t2-instead-of-a-dictionaryt1-t2/1823659 
https://stackoverflow.com/questions/16977694/why-is-dictionary-so-much-faster-than-list 
https://stackoverflow.com/questions/15821634/lookup-performance-array-list-or-dictionary 

I hope this information helps. If you have questions about RadControls please let me know.  

Regards,
Nadya
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Alexey
Top achievements
Rank 1
answered on 02 Dec 2020, 06:30 PM

Hi Nadya,

 

My question was not generic. I asked about Telerik WinForms controls specifically. What do you support the most efficient?

0
Nadya | Tech Support Engineer
Telerik team
answered on 07 Dec 2020, 11:05 AM

Hello, Alexey,

RadControls has a very flexible binding system that can cover various binding scenarios. The preferred binding type may be different due to the specific needs of each client's requirements and the desired control that they use. You can find information about data binding for each control in our documentation: https://docs.telerik.com/devtools/winforms/introduction 

If you need further assistance, could you please provide more information about the scenario that you have. Which is the desired control that you would like to use?

Looking forward to your reply.

Regards,
Nadya
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Alexey
Top achievements
Rank 1
Answers by
Nadya | Tech Support Engineer
Telerik team
Alexey
Top achievements
Rank 1
Share this question
or