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

Strange behavior when navigating away

3 Answers 47 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ManniAT
Top achievements
Rank 2
ManniAT asked on 24 Jun 2011, 01:36 PM
Hi,

this is my first test with the Transition framework.
First of all - pretty easy to use - I love it.

BUT - there is a slight problem when navigating away from pages.
I guess I forgot something.

The situation - from a panorama page I use "tiles" to navigate to pivot pages.
3 Lines of code - works perfect.
Also the "landing transitions" play perfect.
When I navigate away the page (no matter which transition I set on it) moves up before it hides.

It's noticeable on the device - and really good to see on the simulator.
Do I have to set something in code behind? Or is there anything else wrong?

I also noticed - that when the "landing page" has no transition defined the content becomes messed - at least in the simulator,
This can be fixed with setting a transition of the type RadTransition - maybe this should be default if no transition is used on a page.

I provided a simple project showing the problems at http://www.pp-p.net/transtest.zip
The only code behind is in the panorama where I handle the button click events for navigation.
Navigation from the pages is done via back button.

Manfred

3 Answers, 1 is accepted

Sort by
0
Accepted
Valentin.Stoychev
Telerik team
answered on 24 Jun 2011, 01:40 PM
Hello ManniAT,

The zip file is broken - no XAML and CS files.

Do you have a

shell:SystemTray.IsVisible="True"

set on the second page? If so - this is the problem. Turn it off if you don't like the up movement.

Please let us know if this helps.

Greetings, Valentin.Stoychev
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
ManniAT
Top achievements
Rank 2
answered on 24 Jun 2011, 01:51 PM
Hi Valentin,

once again perfect support - that did the trick (Tray is set visible in the default template)  :)
It also "fades out" now not only in!!

One question is left - how to handle the situation if I want to show the tray?
I guess (I'm not sure and didn't try) I have to handle the back button - hide the tray and than call navi.back - am I right?

Thank you for the fast answer
Manfred
0
Valentin.Stoychev
Telerik team
answered on 24 Jun 2011, 01:57 PM
Hello ManniAT,

If you handle teh back button you will still see the pop-ing. Unfortunately we have not found a solution fo this at the moment. The shell is displayed by the WP7 OS and we can't control this.

Regards, Valentin.Stoychev
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
TransitionControl
Asked by
ManniAT
Top achievements
Rank 2
Answers by
Valentin.Stoychev
Telerik team
ManniAT
Top achievements
Rank 2
Share this question
or