Click here to Skip to main content
15,890,579 members

Comments by Rbucha (Top 5 by date)

Rbucha 29-Dec-11 16:14pm View    
Hi Ryan
Here is a snipet of the datagrid:
<sdk:datagridtemplatecolumn.celltemplate>
<datatemplate>
<hyperlinkbutton content="(view)" tag="{Binding countries}"
="" navigateuri="/CountrySummary" targetname="UserGroupFrame" verticalalignment="Center">


I am assuming back on my main page where I have a <urimapper:urimapping uri="/{pageName}" mappeduri="/Views/{pageName}.xaml">
it will generate the complete uri.
Rbucha 2-Dec-11 15:52pm View    
So John the uri code gets me the Home page that the Treeview and myFrame that I want to navigate to within Home page, but I don't know how to call myframe with that information.Thanks
Rbucha 1-Dec-11 17:38pm View    
John
So I did :
MainPage rootPage = App.Current.RootVisual as MainPage;
string url = HtmlPage.Document.DocumentUri.ToString();
The url is of my Home Page
So on this home page is a frame that I want do following
MyFrame.Navigate (new Uri...)
Rbucha 1-Dec-11 16:33pm View    
John
I input MainPage mainPage = App.Current.RootVisual as MainPage;

Then I tried using intellisense to look at the mainPage but shows nothing. I would of thought where you were going with this is to get to my Home.xaml I would do mainPage.Home.myFrame.Navigate (new uri.....)
Rbucha 1-Dec-11 16:16pm View    
I am a newby so...I guess the main question is I am on xyz.cs file where the treeview fired a selection event. I need to have the frame that is on same page as treeview that fired event display some other page it its frame. Don't know how to do this/find frame?