Telerik Forums RSShttp://www.telerik.com/urn:uuid:cd258555-b598-4370-9a89-7c7edfa57952http://www.telerik.com/forums/permalink/VYUlzZi1cEOaiXx-36V5UgRadJumpList breaks page transitonHi ManniAT,<br />
<br />
Thanks for writing back and for the details.<br />
<br />
In fact, optimizing the performance of a WP7 Silverlight application is a real challange. If you have to coope with large amounts of data and still have good user experience - you have to be really careful and make sure that you avoid doing unnecessary processing.<br />
<br />
We still will continue researching different possibilities for squeezing maximum performance out of RadDataBoundListBox/RadJumpList so you can stay tuned for further news on this front.<br />
<br />
Do not hesitate to get back to us if you have further feedback to share with us or need assistance.<br />
<br />
Thanks for your time.<br />
<br />
Best wishes,<br />
Deyan <br />
the Telerik team
<div class="forumBaloonTop"></div>
<div class="forumBaloon">Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. <a href="http://www.telerik.com/products/windows-phone/getting-started/windows-phone-applications-submission.aspx">Learn more&gt;&gt; </a></div>
<div class="forumBaloonBottom"></div>urn:uuid:1957a3cf-bee7-4cc3-9695-d4a935197719http://www.telerik.com/forums/permalink/z6NXGee-w0yWldSpNRl3GQRadJumpList breaks page transitonThank you for this information Deyan,<br />
<br />
I guess there are two problems - one is performance - and the other is (I guess) related to page transition.<br />
<br />
From what I see (I didn't check the source code) the transition animation waits till the "page" has built (displayed) then it starts (resumes?) the animation. Or at least it behaves like this.<br />
<br />
With the (now I know why) faster Long.... I fall in this timeframe&nbsp;- so I see some animation.<br />
<br />
And (against my above writing) it looks like - header fades in - listbox entries appear a bit later.<br />
So there the animation starts "correct" and brings the result I want.<br />
<br />
By the way - I have still no explanation why "fade away" doesn't animate.<br />
<br />
Anyhow - since I also have memory issues using a form (pivot) with two instances of JumpList (every open / close&nbsp;adds about 5 MB Memory usage in my Main Pivot) I changed the design to use a RadWindow with one instance of a JumpList - the List is much faster in this case - and instead of providing two lists I use the (real cool and fast) feature of switching the grouping on demand.<br />
<br />
Just to be precise - three things changed - one instance instead of two - RadWindow instead of navigation to a pivot page and no "Sort Criteria" on JumpList - this was used in the second instance which no longer exists.<br />
<br />
Also strange (positive in this case) - I have no longer loading time problems (about 100ms on first load less on subsequent loads) and the only thing I have to "fix" is the group picker loading animation - which has to be faster for my use.<br />
The rest works like a charm. I (of course) also gave it a try with the Long... - but there I have to rebind the data for different groupings - which means holding two list (with different structure) while I can simple change the group description with the JumpList.<br />
If "Sorting" was the problem - I'll simple provide sorted data - and if (I didn't try till now) filtering is as responsible as grouping I finally got a perfect solution.<br />
<br />
To explain it a little - the user chooses an Item from a list - checks the result in a different list - chooses another item - and so forth.<br />
What I already have is grouping the list by first character or category.<br />
What I'll also need (I'll try to use the JumpList filter for this) is switching between "all items"&nbsp;and "favorite items" (favorite is a boolean property on each item).<br />
<br />
Regards and thank you for the fast (and precise) information<br />
Manfred<br />urn:uuid:0d069cd5-4c6b-4db7-8e72-93dad7804db3http://www.telerik.com/forums/permalink/1ZwGDWtMt02OcpPa14BNswRadJumpList breaks page transitonHello Manfred,<br />
<br />
Thanks for contacting us.<br />
<br />
We have made some investigations based on your observations and have been able to reproduce the behavior that you describe. <br />
<br />
In general there are a couple of important points to mention which are relevant when comparing <em>RadJumpList </em>to the Silverlight Toolkit's <em>LongListSelector.</em><br />
<br />
The <em>LongListSelector</em> control uses <em>ContentPresenter </em>instances as container objects whereas the <em>RadJumpList</em> control uses <em>ContentControl</em> instances for the same purpose. The <em>ContentPresenter</em> is considerably lighter when it comes to visualising content with a template but it does not support styles. That is why we decided to use <em>ContentControls</em> in <em>RadDataBoundListBox</em> and in <em>RadJumpList</em> respectively. For instance, the selection mechanism uses this to change the forecolor of the selected item by updating the visual state of the selected container which is defined in its default style. This extended functionality of <em>ContentControl</em> brings its performance hit as well.<br />
<br />
Since we think good performance is very important on the phone, we decided to&nbsp;extend our UI virtualization engine that supports RadJumpList so that it supports both <em>ContentControl</em> and <em>ContentPresenter</em> based containers. In this way we will make sure that we address similar performance hits and also preserve the existing functionality that is provided by the fact that we use <em>ContentControl </em>based visual containers.<br />
<br />
We hope that we will be able to provide this functionality for Q2 2011.<br />
<br />
You can write back anytime you have further questions or need assistance.<br />
<br />
Kind regards,<br />
Deyan <br />
the Telerik team
<div class="forumBaloonTop"></div>
<div class="forumBaloon">Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. <a href="http://www.telerik.com/products/windows-phone/getting-started/windows-phone-applications-submission.aspx">Learn more&gt;&gt; </a></div>
<div class="forumBaloonBottom"></div>urn:uuid:b28914a8-461e-4e29-994f-9cf05c375315http://www.telerik.com/forums/permalink/qBSJsh5GKU6ZT5zwXDdTFQRadJumpList breaks page transitonHi,<br />
<br />
I have (had) a pivot page using some (SL) listboxes.<br />
The page has a "fade" transition.<br />
<br />
Everything works fine.<br />
Then I changed the SL listbox to a RadJumpList.<br />
<br />
The effects:<br />
&nbsp;&nbsp;&nbsp;&nbsp;a.) blank (dark) screen - than the page just appears (no fade)<br />
&nbsp;&nbsp;&nbsp;&nbsp;b.) navigating away has no transition (no fade effect) also<br />
It just takes some time (for whatever) and the page goes away.<br />
<br />
I can improve the loading by adding a timer in "page load" which fires the jumplist binding about 500ms later.<br />
If I do it to fast (timer value to small) it doesn't help - else I get a fade (with an empty listbox) and later the data items appear.<br />
Still no "fade out" on that page.<br />
<br />
It seems as if the start animation waits till the JumpList is bound - which unfortunately takes pretty long (&gt;1sec) for about 500 Items grouped by their first character.<br />
Of course I tried to use "IsAsyncBalanceEnabled" - but the effect is not useable.<br />
If I start to scroll (what user would do for sure) the line "drop in one after one".<br />
And if I scroll fast - I sit in front of an empty listbox which takes about 2 and more seconds till the lines fill.<br />
<br />
Anyhow - even if I could somehow optimize my code (selectors) - there is still the "no fade out" which is pretty bad,<br />
since there is a delay where nothing happens - so it looks as if the user didn't "hit ok" followed by an imideate disappear of the page.<br />
<br />
And to remember - everything works fine if I use the default listbox - OK except one thing - the animation start seems to wait for the data to be bound - so my "progress bar" never shows up.<br />
Before I had page transitions I got a progress bar showing up followed by a filled listbox.<br />
<br />
Regards<br />
Manfred<br />