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

Using PAF breaks ChooserTasks

2 Answers 55 Views
PhoneApplicationFrame
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
prog1
Top achievements
Rank 1
prog1 asked on 09 Mar 2011, 02:31 PM
After implementing the PhoneApplicationFrame I get after every ChooserTask(Email, Phonenumber)
following exception:

"Navigation is only supported to relative URIs that are fragments, or begin with '/', or which contain ';component/'.\r\nParameter name: uri"

Implemented the PhoneApplicationFrame like this:

private void InitializePhoneApplication()
        {
            if (phoneApplicationInitialized)
                return;
 
            // Create the frame but don't set it as RootVisual yet; this allows the splash
            // screen to remain active until the application is ready to render.
            RadTransition transition = new RadTurnstileTransition();
 
            RadPhoneApplicationFrame frame = new RadPhoneApplicationFrame();
            frame.Transition = transition;
            RootFrame = frame;
            ////RootFrame = new PhoneApplicationFrame();
            RootFrame.Navigated += CompleteInitializePhoneApplication;
 
            // Handle navigation failures
            RootFrame.NavigationFailed += RootFrame_NavigationFailed;
 
            // Ensure we don't initialize again
            phoneApplicationInitialized = true;
        }

2 Answers, 1 is accepted

Sort by
0
Accepted
Valentin.Stoychev
Telerik team
answered on 09 Mar 2011, 02:47 PM
Hello Fabian,

This was an issue we had with the previous version of the controls , but in Beta2 - the release from March, 1st should not have this problem.

Can you confirm you are using the latest version of the controls - beta 2?

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
prog1
Top achievements
Rank 1
answered on 09 Mar 2011, 03:12 PM
Hi Valentin,

after setting the references again and be sure I am using beta 2 the issue does not appear anymore.

Thanks for the fast help.
Tags
PhoneApplicationFrame
Asked by
prog1
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
prog1
Top achievements
Rank 1
Share this question
or