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

Poor performance with controls?

4 Answers 64 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.
Jason
Top achievements
Rank 1
Jason asked on 30 Apr 2013, 03:46 AM
I was previously used the free listpicker and autocomplete box from the silverlight toolkit and recently switched to telerik controls. I'm dealing with large databases and just started doing some performance testing on my older WP7 device and have an issue when I call a new page the UI would block for several seconds, 4+. I tried many things with background workers, etc, assuming it was the database but realize it's the telerik controls. Made a new project with a single button, calling another page with a autocomplete box and several  list pickers and I see the same thing, no code, just UI -  slow loading with UI blocked. The silverlight toolkit controls I was using previously had no such issue and would display almost immediately on page load. Am I missing something or are the controls just better optimized for newer hardware now? On my WP8 test device I don't really notice it.

4 Answers, 1 is accepted

Sort by
0
Jason
Top achievements
Rank 1
answered on 30 Apr 2013, 04:58 AM
Update ... I noticed when I returned to the page the speed was better or went to another page with the controls first, so I placed a hidden listpicker/autocomplete box on my main page which had no telerik controls before and cuts the load time down by almost half, guess it does some work the first time they're used and then is cached for future use?
0
Kiril Stanoev
Telerik team
answered on 02 May 2013, 09:42 AM
Hello Jason,

Thank you for contacting us.
We haven't done any performance optimizations for the new platform (WP8). The changes between the WP7 and WP8 ListPickers are almost none so I assume the platform simply behaves better.
We'll try and reproduce the performance issue  using your approach and we'll see if the situation can be improved. We'll do this first thing next week as we're working this week with limited capacity due to national holidays. We'll let you know our findings. Sorry for the inconvenience caused.

Greetings,
Kiril Stanoev
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Benjamin
Top achievements
Rank 1
answered on 13 Sep 2013, 03:04 PM
Is there anything to do about the first time?
0
Todor
Telerik team
answered on 18 Sep 2013, 03:39 PM
Hello Benjamin,

Thank you for writing. 

The initial delay is caused by the parsing of the styles for the controls that are included the relevant assemblies. For example, when you use RadDataBoundListBox the styles of the controls in the Primitives assembly are parsed and when you use RadCalendar the styles of the controls in the Input assembly are parsed. You can use Jason's approach and add a control to the first page of your application. This way the loading time will be added to the app loading and will be less noticable. 
 
Regards,
Todor
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
General Discussions
Asked by
Jason
Top achievements
Rank 1
Answers by
Jason
Top achievements
Rank 1
Kiril Stanoev
Telerik team
Benjamin
Top achievements
Rank 1
Todor
Telerik team
Share this question
or