I've created a silverlight application in Expression Blend3, added a new silverlight page via visual studio, and I would like to navigate to that page from MainPage.XAML. I've noticed there are no link buttons and such in Blend3, so I've used an ordinary button control. But how do I navigate to the new page from the button's click event? It's not the same as in a C# desktop application. Could someone please explain this to me. In anticipation of your much valued help, many, many thanks! And 'may yer giv'n hawn never fawl aff'.
2 Replies - 18964 Views - Last Post: 05 May 2010 - 05:05 AM
#1
Button click event to open a new page in silverlight app
Posted 04 May 2010 - 09:43 PM
Replies To: Button click event to open a new page in silverlight app
#2
Re: Button click event to open a new page in silverlight app
Posted 04 May 2010 - 10:09 PM
WPF pages are like a navigation system. You need to have a window set as a NavigationWindow and use it's Navigate() method, passing it the Page you want to display. I did a little searching and found that this might help a little bit in understanding the process: Create Navigation Based Application in WPF
#3
Re: Button click event to open a new page in silverlight app
Posted 05 May 2010 - 05:05 AM
Here is a video tutorial of the Navigation Framework in Silverlight by Tim Heuer
http://www.silverlig...tion-framework/
http://www.silverlig...tion-framework/
This post has been edited by eclipsed4utoo: 05 May 2010 - 05:06 AM
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote







|