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

[Solved] Is there OnNavigate() event on RadPage ?

1 Answer 78 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.
khiem nv
Top achievements
Rank 1
khiem nv asked on 15 Oct 2009, 10:37 AM

Hello!
    I have a radPage control, ex: Order.xaml. I want to pass to this page some parameter by using Navigate() method like this:

            Telerik.Windows.Controls.NavigationService navService  = Telerik.Windows.Controls.NavigationService.GetNavigationService;
            Uri  navUri = new Uri( string.Format( "/Orders/{0}", orderID ), UriKind.Relative);
            navService.Navigate(navUri );

and in Order.xaml page i need an event like OnNavigate() like:  

 

     public override void OnNavigate( NavigationContext context )

      {

          if ( context.Parameters.Contains( "CustomerID" ) )

            {

                 MessageBox.Show(context.Parameters.Contains( "CustomerID" ) );

             }

        }

I hope you can help me solve this issue
thanks you!

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 20 Oct 2009, 08:52 AM
Hi khiem nv,

This is not supported in the framework, but you can use variables define on application level to exchange data between the different pages.

Sincerely yours,
Valentin.Stoychev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
khiem nv
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or