Hello,I need to open xaml page in new browser at each time.Scenario :-I have a grid having id in each row as a hyperlinkbutton.When I click on Id suppose 1 I need to open another xaml page in new window.The same way for Id 2,3,4....so on.I tried thisHtmlPage.Window.Navigate(new Uri("Web.CortexTestPage.aspx", UriKind.Relative), "_blank");but did not get how to bind the xaml to the above page...Please suggest the solution.Thanks in advance...
Hi,
So you're using the XamGrid?
I'm not 100% sure about what you're asking.
But if you just want to bind to a Uri property you can use the HyperlinkColumn:
<ig:HyperlinkColumn Key="YourUriProperty" TargetName="_blank"/>
If you need to customize your UriProperty, or convert it to a Uri, you can use the ValueConverter property on the HyperlinkColumn with your own IValueConverter:
<ig:HyperlinkColumn Key="YourUriProperty" TargetName="_blank" ValueConverter="{StaticResource yourConverter}"/>
Or, if you need to build a uri off of various properties of your data, you can use an UnboundColumn:
<ig:UnboundColumn Key="navigate">
<ig:UnboundColumn.ItemTemplate>
<DataTemplate>
<HyperlinkButton NavigateUri="{Binding RowData, Converter={StaticResource yourConverter}}" TargetName="_blank"/>
</DataTemplate>
</ig:UnboundColumn.ItemTemplate>
</ig:UnboundColumn>
Hope this helps,
-SteveZ
Thanks for your reply...Yes I am using xamwebgrid.I want to open an xaml page when I click on hyperlinkbutton.not in the parent browser but out of browser(means in new browser).on each hyperlink button click I want tje new window get open.Hope you got my point...
-Pankaj