Click here to Skip to main content
15,907,281 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: problem with cross-domain silverlight and WCF Pin
Yanshof29-Mar-11 21:49
Yanshof29-Mar-11 21:49 
GeneralRe: problem with cross-domain silverlight and WCF Pin
Pete O'Hanlon29-Mar-11 22:25
mvePete O'Hanlon29-Mar-11 22:25 
GeneralRe: problem with cross-domain silverlight and WCF Pin
Yanshof29-Mar-11 23:23
Yanshof29-Mar-11 23:23 
GeneralRe: problem with cross-domain silverlight and WCF Pin
Pete O'Hanlon29-Mar-11 23:33
mvePete O'Hanlon29-Mar-11 23:33 
Questionusercontrol - silverlight 4.0 Pin
arkiboys29-Mar-11 5:04
arkiboys29-Mar-11 5:04 
AnswerRe: usercontrol - silverlight 4.0 Pin
Yanshof29-Mar-11 5:15
Yanshof29-Mar-11 5:15 
AnswerRe: usercontrol - silverlight 4.0 Pin
Mycroft Holmes29-Mar-11 13:04
professionalMycroft Holmes29-Mar-11 13:04 
GeneralRe: usercontrol - silverlight 4.0 Pin
arkiboys30-Mar-11 4:39
arkiboys30-Mar-11 4:39 
This is what I am trying to do now.
My main page has the navigation frame with the navigation menue on the left hand side.
Clicking each linkbutton in the menue will navigate to the desired page and show the page inside the mainframe.

Question:
In page2.xaml, I have placed a button, and wouold like it to navigate me to the page1.xaml when clicked.
So, in page2.xaml, I have placed the namespace for navigation and the following code in the button
private void btnNavigate_Click(object sender, RoutedEventArgs e)
        {
            mainFrame.Navigate(new Uri("/Page1.xaml", UriKind.Relative));
        }


BUT the problem is that mainFrame is on the mainpage.xaml and not on page2.xaml, so I get an error when running the application.
Does this mean I have to copy the mainframe xaml to the page2.xaml as well?

Thanks
GeneralRe: usercontrol - silverlight 4.0 Pin
Mycroft Holmes30-Mar-11 14:13
professionalMycroft Holmes30-Mar-11 14:13 
GeneralRe: usercontrol - silverlight 4.0 [modified] Pin
arkiboys30-Mar-11 18:33
arkiboys30-Mar-11 18:33 
QuestionChange the Seleted Item of a Combobox in a Child window from a Parent Window Pin
Vimalsoft(Pty) Ltd29-Mar-11 4:28
professionalVimalsoft(Pty) Ltd29-Mar-11 4:28 
AnswerRe: Change the Seleted Item of a Combobox in a Child window from a Parent Window Pin
Mycroft Holmes29-Mar-11 13:12
professionalMycroft Holmes29-Mar-11 13:12 
GeneralRe: Change the Seleted Item of a Combobox in a Child window from a Parent Window Pin
Vimalsoft(Pty) Ltd29-Mar-11 19:18
professionalVimalsoft(Pty) Ltd29-Mar-11 19:18 
QuestionWPF Windows refusing to open from Office Ribbon Pin
vikas bhandari28-Mar-11 5:06
vikas bhandari28-Mar-11 5:06 
AnswerRe: WPF Windows refusing to open from Office Ribbon Pin
SledgeHammer0128-Mar-11 6:22
SledgeHammer0128-Mar-11 6:22 
GeneralRe: WPF Windows refusing to open from Office Ribbon Pin
vikas bhandari28-Mar-11 8:04
vikas bhandari28-Mar-11 8:04 
GeneralRe: WPF Windows refusing to open from Office Ribbon Pin
Pete O'Hanlon28-Mar-11 8:39
mvePete O'Hanlon28-Mar-11 8:39 
QuestionThe Property 'Content' is set more than once - I cant see were I am doing this Pin
Paul Harsent25-Mar-11 2:08
Paul Harsent25-Mar-11 2:08 
AnswerRe: The Property 'Content' is set more than once - I cant see were I am doing this Pin
Pete O'Hanlon25-Mar-11 2:16
mvePete O'Hanlon25-Mar-11 2:16 
GeneralRe: The Property 'Content' is set more than once - I cant see were I am doing this Pin
Paul Harsent25-Mar-11 2:24
Paul Harsent25-Mar-11 2:24 
GeneralRe: The Property 'Content' is set more than once - I cant see were I am doing this Pin
Ian Shlasko25-Mar-11 2:44
Ian Shlasko25-Mar-11 2:44 
GeneralRe: The Property 'Content' is set more than once - I cant see were I am doing this Pin
Pete O'Hanlon25-Mar-11 2:56
mvePete O'Hanlon25-Mar-11 2:56 
AnswerRe: The Property 'Content' is set more than once - I cant see were I am doing this Pin
Abhinav S26-Mar-11 6:20
Abhinav S26-Mar-11 6:20 
QuestionWCF: Message Security with a User Name Client - how to retrieve username+pwd from server side on a per request basis? [modified] Pin
devvvy24-Mar-11 22:16
devvvy24-Mar-11 22:16 
AnswerRe: WCF: Message Security with a User Name Client - how to retrieve username+pwd from server side on a per request basis? Pin
SledgeHammer0125-Mar-11 11:02
SledgeHammer0125-Mar-11 11:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.