Is there OnNavigate() event on RadPage ?

2 posts, 0 answers
  1. khiem nv
    khiem nv avatar
    8 posts
    Member since:
    Oct 2009

    Posted 15 Oct 2009 Link to this post

        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!

  2. Valentin.Stoychev
    Valentin.Stoychev avatar
    2198 posts

    Posted 20 Oct 2009 Link to this post

    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,
    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.
Back to Top