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

WPF Window / Page Transitions

1 Answer 195 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Ramjet
Top achievements
Rank 1
Ramjet asked on 15 Apr 2012, 01:24 PM
Hello,

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.

TIA
JB

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

1 Answer, 1 is accepted

Sort by
0
Ivo
Telerik team
answered on 19 Apr 2012, 01:10 PM
Hi,

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 >>

Tags
TransitionControl
Asked by
Ramjet
Top achievements
Rank 1
Answers by
Ivo
Telerik team
Share this question
or