[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2001
  • Last Modified:

Page navigation in Frame in WPF application

I have a Window where I have put a Frame. I would like to add a Page to the Frame when I click a button that is also on the Window but not in the Frame. There are several buttons in the Window and each click on a button should load a different Page in the Frame.

I am new to WPF .Please give me some urls from where I can get the step by step approach in this matter.
Any tutorial or code regarding this is welcome.

0
ANINDYA
Asked:
ANINDYA
  • 2
1 Solution
 
CuteBugCommented:
the Frame class exposes a method named "Navigate" that takes the content you want to show in your frame as parameter. try calling

myFrame.Navigate(myPageObject);


Check this link for Page navigation
http://weblogs.asp.net/plip/archive/2007/11/11/building-wpf-applications-with-the-page-navigation-framework-it-s-just-like-asp-net-but-with-state.aspx
0
 
ANINDYAAuthor Commented:
this has not given me the correct out put as desired
0
 
ANINDYAAuthor Commented:
Expert
I am fresher so I was expecting a more elaborate and step by step method .
Thanks
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now