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

Rad Controls and Reflection

2 Answers 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Terry
Top achievements
Rank 1
Terry asked on 13 Apr 2012, 11:17 AM
Good Morning,

We come across a bit of an issue with using some of the Rad controls

Our scenario is that we've created a user control that contains the RadMaskedInput and RadDatePicker control. In our scenario we use reflection to dynamically create these controls and add them to a silverlight page. We noticed that once we try to scale up (i.e .100+ controls) the app becomes too slow (both to create the objects in memory and the rendering on the page)

After taking reflection out of the scenario and just using the new constructor the performance is no better. From out tests we're look at about 10 secs to create and render 300 of these controls

Do you have any ideas how to improve performance of the creation/render

Terry

2 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 13 Apr 2012, 11:27 AM
Hello Terry,

In case these many controls are bound to some data values, you can check for binding expression errors in your output  window of  VS . A  frequent cause of performance degradation are wrong bindings.

Regards,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Terry
Top achievements
Rank 1
answered on 13 Apr 2012, 02:13 PM
Hi Pavel,

Have looked through the VS output window for Binding Expression exceptions and no errors are being reported.

Any other ideas?

Regards,
Tags
General Discussions
Asked by
Terry
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Terry
Top achievements
Rank 1
Share this question
or