WPF Window / Page Transitions

2 posts, 0 answers
  1. Ramjet
    Ramjet avatar
    51 posts
    Member since:
    Jul 2009

    Posted 15 Apr 2012 Link to this post


    I am trying to do what I thought would be a simple implementation of the RadTransition and running into technical difficulties. I am building a kiosk app for us to use for a week. I load the main window with a grid and a frame in the grid. The frame source gets set to my *Start PAGE* which has 4 buttons on it. When I start the app the window loads (although you don't see it) and then the frame loads the start page. When a button is clicked on the start page in the event handler I want to get back to the main window frame where my RadTransition is and change the source to the page that corresponds to button clicked.As per your demo I use the SiteMap and SitePage models.

    Now I would gladly add the new page to the SitePage and then Call SiteMap.SelectNextPage but I can't get a handle to it. I would update the source of the frame in the parent window but I can't get a handle to it either. So how do I go about getting the RadTransition to switch pages in WPF app?

    Also I am not asking you to do my homework I just need to be pointed in the right direction.


    Tried uploading but the project too large so making a mock up for you to see. OK attached mock example....guess not. Can't upload zip to the forum. I put it here: http://www.gpgvm.org/wpfapplication1.zip
  2. Ivo
    Ivo avatar
    390 posts

    Posted 19 Apr 2012 Link to this post


    I would suggest you to use the Window.GetWindow() method in order to get your main Window. Having it you will be able to use your main frame. You can find your edited project demonstrating this attached.

    Kind regards, Ivo
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top