Questions tagged [navigateuri]
15 questions
27
votes
5 answers
C# Hyperlink in TextBlock: nothing happens when I click on it
In my C# standalone application, I want to let users click on a link that would launch their favorite browser.
System.Windows.Controls.TextBlock text = new TextBlock();
Run run = new Run("Link Text");
Hyperlink link = new…

Nicolas Raoul
- 58,567
- 58
- 222
- 373
11
votes
3 answers
Passing parameters to a WPF Page via its Uri
In the context of a navigation-style WPF application (NavigationWindow, not XBAP):
Is it possible for a Hyperlink's NavigateUri to contain extra parameters, like path data or a querystring? E.g., is there some way I could set my NavigateUri to…

Joe White
- 94,807
- 60
- 220
- 330
5
votes
3 answers
Windows Phone app calls MapUri() twice when I call NavigateService.Navigate()
I recently added a custom UriMapper for saving files into my applications isolated storage when opening them from IE. The code for this looks like this:
class AssociationUriMapper : UriMapperBase
{
public override Uri MapUri(Uri uri)
{
…

mattsson
- 1,132
- 12
- 18
2
votes
2 answers
NavigationService complaining about "FileNotFound" executing from class not attached to any view
I'm trying to navigate to another page (using UriMapping) from some class, that handles Server API, but it is not works. Here my code:
public void processResponce(item Response)
{
try
{
var token = Response.result.token;
…

Fr3nzy
- 21
- 3
1
vote
2 answers
ShellToast.NavigationUri ignored - the toast takes me to MainPage.xaml // WP7.1 Mango
I've been playing with the background tasks and everything is fine (but bizzar), but now I try to do something like this:
protected override void OnInvoke(ScheduledTask task)
{
if (task is PeriodicTask)
{
…

argh
- 933
- 13
- 37
0
votes
1 answer
navigate to a particular part of a scrolllview
I have an horizontal scrollview composed of 3 linear layouts (3pages).
How can I navigate to the 3rd layout of my scrollview? (by default, it navigates on the 1st layout of the page)
Thanks a lot for your help!

user1068400
- 115
- 1
- 6
0
votes
1 answer
Navigate to new instance of page in silverlight
I have an issue where I have a hyperlinkbutton (exists in the master page) that navigates to a "Project" page without any id, and therefore creates a new project as nothing exists. However, if I've done that, and clicks on the same button again,…

MrW
- 1,210
- 2
- 16
- 27
0
votes
1 answer
Calling and processing response from Rest service in WP7 app
I am new to WP7 and I am working on a WP7 app that communicates with a Rest service using C#. I have been able to successfully develop the async code using HttpWebRequest to interact with it.
However, I am having difficulty with the login aspect…

Hjalmar
- 23
- 1
- 4
0
votes
1 answer
Edit HyperLink NavigationURI WPF
I'm new to WPF.
I have a ComboBox with multiple values and a HyperLink, whenever the ComboBox value changes, I want to change the NavigateUri of the HyperLink accordingly.
In the cs file, I have a dictionary, where the keys are the same as the combo…

musay
- 88
- 1
- 8
0
votes
1 answer
Is there a way to add a Binding to the NavigateUri property on a HyperLink in WPF?
I am adding a link to my WPF app using Hyperlink in a TextBox:
My Link
The Binding…

Drew
- 2,601
- 6
- 42
- 65
0
votes
2 answers
Windows Phone 8.1 navigate using string instead of a type
In Windows Phone 8.1 there is any way to navigate from one page to another using an string instead of a Type?
There is no reflection and Frame.Navigate only accepts type.
Thank you.

Black Cid
- 438
- 1
- 7
- 21
0
votes
1 answer
When is taking a photo done?
I'm working on a wp8-app that takes a photo and then takes you to the next screen to decide whether you like it or not.
The current approach was this:
private void ShutterButton_Click(object sender, RoutedEventArgs e)
{
if (cam != null)
{
…

ecth
- 1,215
- 1
- 16
- 33
0
votes
1 answer
Sliding Navigate Between WP>7 Pages
lets say that we have 5 Xaml Pages.
Page1.xaml with the Page1.cs
Page2.xaml with the Page2.cs
Page3.xaml with the Page3.cs
Page4.xaml with the Page4.cs
Page5.xaml with the Page5.cs
and all are working separately and you can access them via…

Stavros Koureas
- 1,126
- 12
- 34
0
votes
1 answer
disable OnNavigatedTo when app resume
I wonder if its possible to disable the OnNavigatedTo event in windows phone application.
Why I would like to do this is beacuse when I navigate in the app everything works as I want.
But when I go to the homescreen and back to the application when…

Robin M
- 41
- 1
- 8
-1
votes
2 answers
type hyperlink not found in xmlns http://xamarin.com/schemas/2014/forms
I am trying to make an app, and I wanted to have text with hyperlink, but whenever I try to run my app it gives me this error: "Error Position 68:40. Type Hyperlink not found in xmlns http://xamarin.com/schemas/2014/forms FamilyEvents …

Manoel Pereira Leno
- 39
- 4